using CoreModels.Enums.Department;
using CoreModels.ModelsDepartment;
using System;
using System.ComponentModel.DataAnnotations;
using ToolsModule.ManagmentEntity;
namespace DepartmentContract.BindingModels
{
///
/// Получение студенческой группы
///
public class StudentGroupGetBindingModel : GetBindingModel
{
public Guid? EducationDirectionId { get; set; }
public Guid? LecturerId { get; set; }
}
///
/// Сохранение студенческой группы
///
public class StudentGroupSetBindingModel : SetBindingModel, IStudentGroupModel
{
[Required(ErrorMessage = "required")]
public Guid EducationDirectionId { get; set; }
[Required(ErrorMessage = "required")]
public int GroupNumber { get; set; }
[Required(ErrorMessage = "required")]
public AcademicCourse AcademicCourse { get; set; }
public Guid? LecturerId { get; set; }
}
}