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

27 lines
850 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 LecturerAcademicDegreeGetBindingModel : GetBindingModel
{
}
/// <summary>
/// Сохранение ученой степени преподавателя
/// </summary>
public class LecturerAcademicDegreeSetBindingModel : SetBindingModel, ILecturerAcademicDegreeModel
{
[Required(ErrorMessage = "required")]
public string LecturerAcademicDegreeName { get; set; }
public string Description { get; set; }
[Required(ErrorMessage = "required")]
public int Order { get; set; }
}
}