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

25 lines
793 B
C#
Raw Permalink Normal View History

using CoreModels.ModelsDepartment;
using System.ComponentModel.DataAnnotations;
2022-03-20 10:10:44 +04:00
using ToolsModule.ManagmentEntity;
namespace DepartmentContract.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; }
}
}