2022-03-18 22:24:10 +04:00
|
|
|
|
using CoreModels.Enums.Department;
|
|
|
|
|
using CoreModels.ModelsDepartment;
|
2022-03-18 22:38:52 +04:00
|
|
|
|
using ToolsModule.BindingModels;
|
2021-04-13 12:52:45 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
2022-03-19 22:48:13 +04:00
|
|
|
|
namespace DepartmentContract.BindingModels
|
2021-04-13 12:52:45 +04:00
|
|
|
|
{
|
2022-03-18 22:24:10 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение записи приказа по студенту
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class OrderStudentRecordGetBindingModel : GetBindingModel
|
2021-04-13 12:52:45 +04:00
|
|
|
|
{
|
|
|
|
|
public Guid? OrderId { get; set; }
|
|
|
|
|
|
|
|
|
|
public Guid? StudentId { get; set; }
|
|
|
|
|
|
|
|
|
|
public Guid? StudentGroupId { get; set; }
|
2021-08-20 18:28:34 +04:00
|
|
|
|
|
|
|
|
|
public OrderStudentMoveType? OrderStudentMoveType { get; set; }
|
2021-04-13 12:52:45 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение записи приказа по студенту
|
|
|
|
|
/// </summary>
|
2022-03-18 22:24:10 +04:00
|
|
|
|
public class OrderStudentRecordSetBindingModel : SetBindingModel, IOrderStudentRecordModel
|
2021-04-13 12:52:45 +04:00
|
|
|
|
{
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
public Guid OrderId { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
public Guid StudentId { get; set; }
|
|
|
|
|
|
|
|
|
|
public Guid? StudentGroupFromId { get; set; }
|
|
|
|
|
|
|
|
|
|
public Guid? StudentGroupToId { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required(ErrorMessage = "required")]
|
|
|
|
|
public OrderStudentMoveType OrderStudentMoveType { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Info { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|