using Baya.Application.Models.Booking;
using Baya.Application.Models.Common;
using Mediator;

namespace Baya.Application.Features.Bookings.Queries.ListSessionsForNurse;

/// <summary>The signed-in nurse's sessions for a day (today's visits by default), each with its check-in/out
/// CTA state. Tenancy-scoped to the nurse via <c>ICurrentUser</c>, projected + paginated.</summary>
public record ListSessionsForNurseQuery(DateOnly? Date = null, int Page = 1, int PageSize = 20)
    : IRequest<OperationResult<PagedResult<BookingSessionListItemDto>>>;
