using CoreModels.Enums.Department;
using CoreModels.ModelsDepartment;
using System;
using System.ComponentModel.DataAnnotations;
using ToolsModule.ManagmentEntity;
namespace DepartmentContract.BindingModels
{
///
/// Получение оценки студента за дисциплину
///
public class StudentMarkPassedDisciplineGetBindingModel : GetBindingModel
{
public Guid? StudentGroupId { get; set; }
public Guid? StudentId { get; set; }
public Guid? DisciplineId { get; set; }
public Guid? LecturerId { get; set; }
public DateTime? DateStart { get; set; }
public DateTime? DateFinish { get; set; }
}
///
/// Сохранение оценки студента за дисциплину
///
public class StudentMarkPassedDisciplineSetBindingModel : SetBindingModel, IStudentMarkPassedDisciplineModel
{
[Required(ErrorMessage = "required")]
public Guid StudentId { get; set; }
[Required(ErrorMessage = "required")]
public Guid DisciplineId { get; set; }
public Guid? LecturerId { get; set; }
[Required(ErrorMessage = "required")]
public Semester Semester { get; set; }
[Required(ErrorMessage = "required")]
public DisciplineReportingType DisciplineReportingType { get; set; }
[Required(ErrorMessage = "required")]
public MarkDisciplinePassedType Mark { get; set; }
[Required(ErrorMessage = "required")]
public DateTime DateAffixing { get; set; }
[Required(ErrorMessage = "required")]
public bool IsIncreaseMark { get; set; }
[Required(ErrorMessage = "required")]
public bool IsDirection { get; set; }
public string AddiionalInfo { get; set; }
}
}