refactor: correct new reference
Some checks failed
.NET Test Pipeline / build-and-test (pull_request) Failing after 1m12s

This commit is contained in:
Polianin Nikita 2024-01-26 07:39:47 +03:00
parent 28e862c670
commit bd3a11486d
5 changed files with 7 additions and 4 deletions

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