2021-04-02 22:44:29 +04:00
|
|
|
|
using ModuleTools.Attributes;
|
|
|
|
|
using ModuleTools.BindingModels;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace DepartmentBusinessLogic.BindingModels
|
|
|
|
|
{
|
2021-04-03 09:18:19 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение должности сотрудника
|
|
|
|
|
/// </summary>
|
2021-04-02 22:44:29 +04:00
|
|
|
|
public class EmployeePostGetBindingModel : GetBindingModel
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-03 09:18:19 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение должности сотрудника
|
|
|
|
|
/// </summary>
|
2021-04-02 22:44:29 +04:00
|
|
|
|
public class EmployeePostSetBindingModel : SetBindingModel
|
|
|
|
|
{
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
[MapConfiguration("EmployeePostName")]
|
|
|
|
|
public string EmployeePostName { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
[MapConfiguration("Order")]
|
|
|
|
|
public int Order { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|