2022-03-18 21:34:16 +04:00
|
|
|
|
using CoreModels.ModelsDepartment;
|
2022-03-18 22:38:52 +04:00
|
|
|
|
using ToolsModule.BindingModels;
|
2021-04-06 22:07:11 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
2022-03-19 22:48:13 +04:00
|
|
|
|
namespace DepartmentContract.BindingModels
|
2021-04-06 22:07:11 +04:00
|
|
|
|
{
|
2022-03-18 21:34:16 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение учебного года
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class AcademicPlanGetBindingModel : GetBindingModel
|
2021-04-06 22:07:11 +04:00
|
|
|
|
{
|
|
|
|
|
public Guid? EducationDirectionId { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение учебного года
|
|
|
|
|
/// </summary>
|
2022-03-18 21:34:16 +04:00
|
|
|
|
public class AcademicPlanSetBindingModel : SetBindingModel, IAcademicPlanModel
|
2021-04-06 22:07:11 +04:00
|
|
|
|
{
|
2021-04-11 20:49:26 +04:00
|
|
|
|
public Guid? EducationDirectionId { get; set; }
|
2021-04-06 22:07:11 +04:00
|
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
public int YearEntrance { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
public int YearFinish { get; set; }
|
|
|
|
|
}
|
2021-04-11 20:49:26 +04:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Модель для зазгрузки планов
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class AcademicPlanLoadPlxModel
|
|
|
|
|
{
|
|
|
|
|
public Guid AcademicPlanId { get; set; }
|
|
|
|
|
|
|
|
|
|
public string FileName { get; set; }
|
|
|
|
|
}
|
2021-04-06 22:07:11 +04:00
|
|
|
|
}
|