using CoreModels.ModelsDepartment;
using ToolsModule.BindingModels;
using System.ComponentModel.DataAnnotations;
namespace DepartmentBusinessLogic.BindingModels
{
///
/// Получение должности сотрудника
///
public class PostGetBindingModel : GetBindingModel
{
}
///
/// Сохранение должности сотрудника
///
public class PostSetBindingModel : SetBindingModel, IPostModel
{
[Required(ErrorMessage = "required")]
public string PostName { get; set; }
[Required(ErrorMessage = "required")]
public int? Hours { get; set; }
[Required(ErrorMessage = "required")]
public int Order { get; set; }
}
}