예제 #1
0
 public static LessonGroupDomain Create(LessonGroupType groupType, long lessonId)
 {
     return(new LessonGroupDomain(
                groupType,
                lessonId
                ));
 }
예제 #2
0
 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;
 }
예제 #3
0
 protected internal LessonGroupDomain(LessonGroupType groupType, long lessonId)
 {
     GroupType = groupType;
     LessonId  = lessonId;
 }