예제 #1
0
 public Absence(DateTime date, AbsenceType type, bool excused, long student, ITeachingHour hour)
 {
     this.Date = date;
     this.Type = type;
     this.Excused = excused;
     this.Student = student;
     this.Hour = hour;
 }
예제 #2
0
 public Supplement(bool isHourCanceled, DateTime date, ITeachingHour hour, ISchedule schedule, IPerson teacher = null)
 {
     this.IsHourCanceled = isHourCanceled;
     this.Date = date;
     this.Hour = hour;
     this.Schedule = schedule;
     this.Teacher = teacher;
 }
예제 #3
0
 public static TeachingHourDTO Convert(ITeachingHour hour)
 {
     return new TeachingHourDTO()
     {
         Id = hour.Id,
         Day = hour.Day,
         Order = hour.Order
     };
 }