protected internal UnitLessonDomain ( long unitLessonId, long lessonId, long locationId, long syllabusId, long userId, int startTime, int endTime, SemesterType semesterType, LessonGroupType groupType, DayOfTheWeekType dayOfTheWeekType, EducationType educationType ) { UnitLessonId = unitLessonId; LessonId = lessonId; LocationId = locationId; SyllabusId = syllabusId; UserId = userId; StarTime = startTime; EndTime = endTime; SemesterType = semesterType; GroupType = groupType; DayOfTheWeekType = dayOfTheWeekType; EducationType = educationType; CreatedDate = DateTime.Now; UpdatedDate = DateTime.Now; }
public void AddTime(DayOfTheWeekType dayOfTheWeekType, int startTime, int endTime) { DayOfTheWeekType = dayOfTheWeekType; StarTime = startTime; EndTime = endTime; UpdatedDate = DateTime.Now; }
protected internal UnitLessonDomain ( long unitLessonId, long locationId, int startTime, int endTime, DayOfTheWeekType DayOfTheWeekType ) { UnitLessonId = unitLessonId; LocationId = locationId; StarTime = startTime; EndTime = endTime; CreatedDate = DateTime.Now; UpdatedDate = DateTime.Now; }