fix: add discipline id
This commit is contained in:
parent
e3e7c4550f
commit
29485368f8
@ -46,9 +46,11 @@ public class GetScheduleListQueryHandler(ILessonDbContext dbContext) : IRequestH
|
|||||||
DayOfWeek = l.DayOfWeek,
|
DayOfWeek = l.DayOfWeek,
|
||||||
PairNumber = l.PairNumber,
|
PairNumber = l.PairNumber,
|
||||||
IsEven = l.IsEven,
|
IsEven = l.IsEven,
|
||||||
Discipline = l.Discipline!.Name,
|
|
||||||
TypeOfOccupation = l.TypeOfOccupation!.ShortName,
|
TypeOfOccupation = l.TypeOfOccupation!.ShortName,
|
||||||
|
|
||||||
|
Discipline = l.Discipline!.Name,
|
||||||
|
DisciplineId = l.DisciplineId,
|
||||||
|
|
||||||
Group = l.Group!.Name,
|
Group = l.Group!.Name,
|
||||||
GroupId = l.GroupId,
|
GroupId = l.GroupId,
|
||||||
|
|
||||||
|
@ -28,6 +28,11 @@ public class ScheduleLookupDto
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public required string Discipline { get; set; }
|
public required string Discipline { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the ID of the discipline.
|
||||||
|
/// </summary>
|
||||||
|
public required int DisciplineId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the type of occupation.
|
/// Gets or sets the type of occupation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user