29 lines
788 B
C#
29 lines
788 B
C#
|
using CoreModels.ModelsDepartment;
|
|||
|
using System;
|
|||
|
using System.ComponentModel.DataAnnotations;
|
|||
|
using ToolsModule.ManagmentEntity;
|
|||
|
|
|||
|
namespace DepartmentContract.BindingModels
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Получение года поступления
|
|||
|
/// </summary>
|
|||
|
public class EnrollmentYearGetBindingModel : GetBindingModel
|
|||
|
{
|
|||
|
public Guid? AcademicPlanId { get; set; }
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Сохранение года поступления
|
|||
|
/// </summary>
|
|||
|
public class EnrollmentYearSetBindingModel : SetBindingModel, IEnrollmentYearModel
|
|||
|
{
|
|||
|
public Guid AcademicPlanId { get; set; }
|
|||
|
|
|||
|
[Required(ErrorMessage = "required")]
|
|||
|
public int YearEntrance { get; set; }
|
|||
|
|
|||
|
[Required(ErrorMessage = "required")]
|
|||
|
public int YearFinish { get; set; }
|
|||
|
}
|
|||
|
}
|