27 lines
850 B
C#
27 lines
850 B
C#
using CoreModels.ModelsDepartment;
|
|
using System.ComponentModel.DataAnnotations;
|
|
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; }
|
|
}
|
|
} |