2021-04-03 22:04:11 +04:00
|
|
|
|
using ModuleTools.Attributes;
|
|
|
|
|
using ModuleTools.BindingModels;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace DepartmentBusinessLogic.BindingModels
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение ученой степени преподавателя
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class LecturerAcademicDegreeGetBindingModel : GetBindingModel
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение ученой степени преподавателя
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class LecturerAcademicDegreeSetBindingModel : SetBindingModel
|
|
|
|
|
{
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
[MapConfiguration("LecturerAcademicDegreeName")]
|
|
|
|
|
public string LecturerAcademicDegreeName { get; set; }
|
|
|
|
|
|
2021-04-04 09:32:36 +04:00
|
|
|
|
[MapConfiguration("Description")]
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
2021-04-03 22:04:11 +04:00
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
[MapConfiguration("Order")]
|
|
|
|
|
public int Order { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|