Fix the sql schema #6
@ -9,5 +9,6 @@ public class Faculty
|
||||
|
||||
public int? CampusId { get; set; }
|
||||
public Campus? Campus { get; set; }
|
||||
|
||||
public List<Group>? Groups { get; set; }
|
||||
}
|
@ -9,5 +9,6 @@ public class Group
|
||||
|
||||
public int? FacultyId { get; set; }
|
||||
public Faculty? Faculty { get; set; }
|
||||
public List<Day>? Days { get; set; }
|
||||
|
||||
public List<Lesson>? Lessons { get; set; }
|
||||
}
|
@ -7,7 +7,8 @@ public class LectureHall
|
||||
public int Id { get; set; }
|
||||
public required string Name { get; set; }
|
||||
|
||||
public List<ProfessorToLesson>? ProfessorToLessons { get; set; }
|
||||
public int CampusId { get; set; }
|
||||
public Campus? Campus { get; set; }
|
||||
|
||||
public List<LessonAssociation>? LessonAssociations { get; set; }
|
||||
}
|
@ -8,5 +8,5 @@ public class Professor
|
||||
public required string Name { get; set; }
|
||||
public string? AltName { get; set; }
|
||||
|
||||
public List<ProfessorToLesson>? ProfessorToLesson { get; set; }
|
||||
public List<LessonAssociation>? LessonAssociations { get; set; }
|
||||
}
|
@ -8,5 +8,5 @@ public class TypeOfOccupation
|
||||
public required string ShortName { get; set; }
|
||||
public string? FullName { get; set; }
|
||||
|
||||
public List<LessonToTypeOfOccupation>? Lessons { get; set; }
|
||||
public List<Lesson>? Lessons { get; set; }
|
||||
}
|
Loading…
Reference in New Issue
Block a user