DepartmentProject/DepartmentPortal/Department/DepartmentContract/BindingModels/AcademicPlanBindingModels.cs

39 lines
997 B
C#
Raw Normal View History

using CoreModels.ModelsDepartment;
2021-04-06 22:07:11 +04:00
using System;
using System.ComponentModel.DataAnnotations;
2022-03-20 10:10:44 +04:00
using ToolsModule.ManagmentEntity;
2021-04-06 22:07:11 +04:00
namespace DepartmentContract.BindingModels
2021-04-06 22:07:11 +04:00
{
/// <summary>
/// Получение учебного года
/// </summary>
public class AcademicPlanGetBindingModel : GetBindingModel
2021-04-06 22:07:11 +04:00
{
public Guid? EducationDirectionId { get; set; }
}
/// <summary>
/// Сохранение учебного года
/// </summary>
public class AcademicPlanSetBindingModel : SetBindingModel, IAcademicPlanModel
2021-04-06 22:07:11 +04:00
{
public Guid? EducationDirectionId { get; set; }
2021-04-06 22:07:11 +04:00
[Required(ErrorMessage = "required")]
public DateTime CreateDate { get; set; }
2021-04-06 22:07:11 +04:00
[Required(ErrorMessage = "required")]
public DateTime LastUpdateDate { get; set; }
2021-04-06 22:07:11 +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
}