using CoreModels.ModelsDepartment;
using System;
using System.ComponentModel.DataAnnotations;
using ToolsModule.ManagmentEntity;
namespace DepartmentContract.BindingModels
{
///
/// Получение базовой кафедры
///
public class BasicDepartmentGetBindingModel : GetBindingModel
{
public Guid? LecturerId { get; set; }
}
///
/// Сохранение базовой кафедры
///
public class BasicDepartmentSetBindingModel : SetBindingModel, IBasicDepartmentModel
{
public Guid? LecturerId { get; set; }
[Required(ErrorMessage = "required")]
public string BasicDepartmentName { get; set; }
public string BasicDepartmentDescription { get; set; }
[Required(ErrorMessage = "required")]
public string EnterprisesName { get; set; }
}
}