2022-03-18 21:34:16 +04:00
|
|
|
|
using CoreModels.Enums.Department;
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
|
|
namespace DepartmentBusinessLogic.BindingModels
|
|
|
|
|
{
|
2022-03-18 21:34:16 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение записи учебного плана
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class AcademicPlanRecordGetBindingModel : GetBindingModel
|
2021-04-06 22:07:11 +04:00
|
|
|
|
{
|
|
|
|
|
public Guid? AcademicPlanId { get; set; }
|
|
|
|
|
|
|
|
|
|
public Guid? DisciplineId { get; set; }
|
|
|
|
|
|
|
|
|
|
public Semester? Semester { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение записи учебного плана
|
|
|
|
|
/// </summary>
|
2022-03-18 21:34:16 +04:00
|
|
|
|
public class AcademicPlanRecordSetBindingModel : SetBindingModel, IAcademicPlanRecordModel
|
2021-04-06 22:07:11 +04:00
|
|
|
|
{
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
public Guid AcademicPlanId { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
public Guid DisciplineId { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
public bool InDepartment { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
public Semester Semester { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
public int Zet { get; set; }
|
|
|
|
|
|
|
|
|
|
public Guid? AcademicPlanRecordParentId { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool IsParent { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool IsFacultative { get; set; }
|
2022-03-18 21:34:16 +04:00
|
|
|
|
}
|
2021-04-06 22:07:11 +04:00
|
|
|
|
}
|