using CoreModels.ModelsDepartment;
using ToolsModule.BindingModels;
using System;
using System.ComponentModel.DataAnnotations;
namespace DepartmentContract.BindingModels
{
///
/// Получение учебного года
///
public class AcademicPlanGetBindingModel : GetBindingModel
{
public Guid? EducationDirectionId { get; set; }
}
///
/// Сохранение учебного года
///
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; }
}
///
/// Модель для зазгрузки планов
///
public class AcademicPlanLoadPlxModel
{
public Guid AcademicPlanId { get; set; }
public string FileName { get; set; }
}
}