33 lines
873 B
C#
33 lines
873 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; }
|
|
|
|
public Guid? EducationDirectionId { get; set; }
|
|
|
|
public int? Year { 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; }
|
|
}
|
|
} |