Добавил получение расписания по roomId
All checks were successful
Create and publish a Docker image / Publish image (push) Successful in 2m56s

This commit is contained in:
2025-09-09 17:22:25 +03:00
parent 7e1df403e2
commit f771dafcde

View File

@@ -2,12 +2,14 @@ using System.ComponentModel;
namespace SfeduSchedule namespace SfeduSchedule
{ {
public class ModeusScheduleRequest(int size, DateTime timeMin, DateTime timeMax, List<Guid> attendeePersonId) public class ModeusScheduleRequest(int size, DateTime timeMin, DateTime timeMax, List<Guid>? attendeePersonId, List<Guid>? roomId)
{ {
[DefaultValue(10)]
public int Size { get; set; } = size; public int Size { get; set; } = size;
public DateTime TimeMin { get; set; } = timeMin; public DateTime TimeMin { get; set; } = timeMin;
public DateTime TimeMax { get; set; } = timeMax; public DateTime TimeMax { get; set; } = timeMax;
public List<Guid> AttendeePersonId { get; set; } = attendeePersonId; public List<Guid>? AttendeePersonId { get; set; } = attendeePersonId;
public List<Guid>? RoomId { get; set; } = roomId;
} }
public class RoomSearchRequest public class RoomSearchRequest