Fix the sql schema #6

Merged
Wesser merged 9 commits from refactor/domain into release/v1.0.0 2024-01-26 07:48:14 +03:00
5 changed files with 7 additions and 4 deletions
Showing only changes of commit bd3a11486d - Show all commits

View File

@ -9,5 +9,6 @@ public class Faculty
public int? CampusId { get; set; }
public Campus? Campus { get; set; }
public List<Group>? Groups { get; set; }
}

View File

@ -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; }
}

View File

@ -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; }
}

View File

@ -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; }
}

View File

@ -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; }
}