public WeeklyClassStudent(WeeklyClass weeklyClass, long studentId, DateTime dateFrom)
 {
     WeeklyClass   = weeklyClass;
     WeeklyClassId = weeklyClass.Id;
     StudentId     = studentId;
     DateFrom      = dateFrom;
 }
 public WeeklyClassStudent(WeeklyClass weeklyClass, Student student, DateTime dateFrom)
 {
     WeeklyClass   = weeklyClass;
     WeeklyClassId = weeklyClass.Id;
     Student       = student;
     StudentId     = student.Id;
     DateFrom      = dateFrom;
 }