feat: add specific week
This commit is contained in:
parent
ed0143cda1
commit
05dadff455
@ -9,13 +9,13 @@ public class Lesson
|
|||||||
public bool IsEven { get; set; }
|
public bool IsEven { get; set; }
|
||||||
public DayOfWeek DayOfWeek { get; set; }
|
public DayOfWeek DayOfWeek { get; set; }
|
||||||
public int PairNumber { get; set; }
|
public int PairNumber { get; set; }
|
||||||
|
public bool? IsExcludedWeeks { get; set; }
|
||||||
|
|
||||||
public int GroupId { get; set; }
|
public int GroupId { get; set; }
|
||||||
public Group? Group { get; set; }
|
public Group? Group { get; set; }
|
||||||
public int TypeOfOccupationId { get; set; }
|
|
||||||
public TypeOfOccupation? TypeOfOccupation { get; set; }
|
|
||||||
public int DisciplineId { get; set; }
|
public int DisciplineId { get; set; }
|
||||||
public Discipline? Discipline { get; set; }
|
public Discipline? Discipline { get; set; }
|
||||||
|
|
||||||
public List<LessonAssociation>? LessonAssociations { get; set; }
|
public List<LessonAssociation>? LessonAssociations { get; set; }
|
||||||
|
public List<SpecificWeek>? SpecificWeeks { get; set; }
|
||||||
}
|
}
|
@ -5,6 +5,8 @@ public class LessonAssociation
|
|||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
public string? LinkToMeet { get; set; }
|
public string? LinkToMeet { get; set; }
|
||||||
|
|
||||||
|
public int TypeOfOccupationId { get; set; }
|
||||||
|
public TypeOfOccupation? TypeOfOccupation { get; set; }
|
||||||
public int LessonId { get; set; }
|
public int LessonId { get; set; }
|
||||||
public Lesson? Lesson { get; set; }
|
public Lesson? Lesson { get; set; }
|
||||||
public int? ProfessorId { get; set; }
|
public int? ProfessorId { get; set; }
|
||||||
|
10
Domain/Schedule/SpecificWeek.cs
Normal file
10
Domain/Schedule/SpecificWeek.cs
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
namespace Mirea.Api.DataAccess.Domain.Schedule;
|
||||||
|
|
||||||
|
public class SpecificWeek
|
||||||
|
{
|
||||||
|
public int Id { get; set; }
|
||||||
|
public int WeekNumber { get; set; }
|
||||||
|
|
||||||
|
public int LessonId { get; set; }
|
||||||
|
public Lesson? Lesson { get; set; }
|
||||||
|
}
|
@ -6,7 +6,6 @@ public class TypeOfOccupation
|
|||||||
{
|
{
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
public required string ShortName { get; set; }
|
public required string ShortName { get; set; }
|
||||||
public string? FullName { get; set; }
|
|
||||||
|
|
||||||
public List<Lesson>? Lessons { get; set; }
|
public List<LessonAssociation>? Lessons { get; set; }
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user