2022-03-27 01:20:51 +04:00
|
|
|
|
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; }
|
2022-03-29 13:33:32 +04:00
|
|
|
|
|
|
|
|
|
public Guid? EducationDirectionId { get; set; }
|
|
|
|
|
|
|
|
|
|
public int? Year { get; set; }
|
2022-03-27 01:20:51 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <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; }
|
|
|
|
|
}
|
|
|
|
|
}
|