39 lines
985 B
C#
39 lines
985 B
C#
using CoreModels.ModelsDepartment;
|
|
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using ToolsModule.ManagmentEntity;
|
|
|
|
namespace DepartmentContract.BindingModels
|
|
{
|
|
/// <summary>
|
|
/// Получение учебного года
|
|
/// </summary>
|
|
public class AcademicPlanGetBindingModel : GetBindingModel
|
|
{
|
|
public Guid? EducationDirectionId { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Сохранение учебного года
|
|
/// </summary>
|
|
public class AcademicPlanSetBindingModel : SetBindingModel, IAcademicPlanModel
|
|
{
|
|
public Guid? EducationDirectionId { get; set; }
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
public int YearEntrance { get; set; }
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
public int YearFinish { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Модель для зазгрузки планов
|
|
/// </summary>
|
|
public class AcademicPlanLoadPlxModel
|
|
{
|
|
public Guid AcademicPlanId { get; set; }
|
|
|
|
public string FileName { get; set; }
|
|
}
|
|
} |