using CoreModels.ModelsDepartment; using ModuleTools.Attributes; using ModuleTools.BindingModels; using System.ComponentModel.DataAnnotations; namespace DepartmentBusinessLogic.BindingModels { /// /// Получение ученого звания преподавателя /// public class LecturerAcademicRankGetBindingModel : GetBindingModel { } /// /// Сохранение ученого звания преподавателя /// public class LecturerAcademicRankSetBindingModel : SetBindingModel, ILecturerAcademicRankModel { [Required(ErrorMessage = "required")] public string LecturerAcademicRankName { get; set; } [Required(ErrorMessage = "required")] public int Order { get; set; } } }