DepartmentProject/DepartmentPortal/Department/DepartmentContract/BindingModels/DisciplineBlockBindingModels.cs

29 lines
855 B
C#
Raw Permalink Normal View History

using CoreModels.ModelsDepartment;
2021-04-03 19:03:56 +04:00
using System.ComponentModel.DataAnnotations;
2022-03-20 10:10:44 +04:00
using ToolsModule.ManagmentEntity;
2021-04-03 19:03:56 +04:00
namespace DepartmentContract.BindingModels
2021-04-03 19:03:56 +04:00
{
/// <summary>
/// Получение блока дисциплин
/// </summary>
public class DisciplineBlockGetBindingModel : GetBindingModel
{
}
/// <summary>
/// Сохранение блока дисциплин
/// </summary>
public class DisciplineBlockSetBindingModel : SetBindingModel, IDisciplineBlockModel
2021-04-03 19:03:56 +04:00
{
[Required(ErrorMessage = "required")]
public string Title { get; set; }
public bool DisciplineBlockUseForGrouping { get; set; }
[Required(ErrorMessage = "required")]
public int DisciplineBlockOrder { get; set; }
public string DisciplineBlockBlueAsteriskName { get; set; }
}
}