DepartmentProject/DepartmentPortal/Department/DepartmentBusinessLogic/BindingModels/LecturerAcademicRankBindingModels.cs

26 lines
826 B
C#

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