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