2022-03-18 22:08:29 +04:00
|
|
|
|
using CoreModels.Enums.Department;
|
|
|
|
|
using CoreModels.ModelsDepartment;
|
2021-04-12 10:01:42 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2022-03-20 10:10:44 +04:00
|
|
|
|
using ToolsModule.ManagmentEntity;
|
2021-04-12 10:01:42 +04:00
|
|
|
|
|
2022-03-19 22:48:13 +04:00
|
|
|
|
namespace DepartmentContract.BindingModels
|
2021-04-12 10:01:42 +04:00
|
|
|
|
{
|
2022-03-18 22:08:29 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение студенческой группы
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class StudentGroupGetBindingModel : GetBindingModel
|
2021-04-12 10:01:42 +04:00
|
|
|
|
{
|
2021-04-27 18:04:01 +04:00
|
|
|
|
public Guid? EducationDirectionId { get; set; }
|
2021-04-12 10:01:42 +04:00
|
|
|
|
|
2022-12-16 17:43:23 +04:00
|
|
|
|
public Guid? AcademicPlanId { get; set; }
|
|
|
|
|
|
2021-04-12 10:01:42 +04:00
|
|
|
|
public Guid? LecturerId { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение студенческой группы
|
|
|
|
|
/// </summary>
|
2022-03-18 22:08:29 +04:00
|
|
|
|
public class StudentGroupSetBindingModel : SetBindingModel, IStudentGroupModel
|
2021-04-12 10:01:42 +04:00
|
|
|
|
{
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
2022-12-16 17:43:23 +04:00
|
|
|
|
public Guid AcademicPlanId { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
public int YearEntrance { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
public int YearFinish { get; set; }
|
2021-04-12 10:01:42 +04:00
|
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
public int GroupNumber { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
2021-04-27 18:04:01 +04:00
|
|
|
|
public AcademicCourse AcademicCourse { get; set; }
|
2021-04-12 10:01:42 +04:00
|
|
|
|
|
|
|
|
|
public Guid? LecturerId { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|