public TeacherEntity(int id, ResourceEntity resource, CourseEntity course, string notes)
 {
     Id       = id;
     Resource = resource;
     Course   = course;
     Notes    = notes;
 }
 public EnrollmentEntity(int id, ResourceEntity resource, ResourceEntity projectLeader, CourseEntity course, DateTime?startDate, DateTime?maxEndDate, bool isAdmitted, string notes)
 {
     Id            = id;
     Resource      = resource;
     ProjectLeader = projectLeader;
     Course        = course;
     StartDate     = startDate;
     MaxEndDate    = maxEndDate;
     IsAdmitted    = isAdmitted;
     Notes         = notes;
 }