2022-03-18 21:34:16 +04:00
|
|
|
|
using CoreModels.ModelsDepartment;
|
2021-04-03 19:03:56 +04:00
|
|
|
|
using ModuleTools.BindingModels;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace DepartmentBusinessLogic.BindingModels
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение блока дисциплин
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class DisciplineBlockGetBindingModel : GetBindingModel
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение блока дисциплин
|
|
|
|
|
/// </summary>
|
2022-03-18 21:34:16 +04:00
|
|
|
|
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; }
|
|
|
|
|
}
|
|
|
|
|
}
|