using CoreModels.ModelsDepartment;
using ToolsModule.Attributes;
using ToolsModule.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; }
}
}