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

namespace Baya.Application.Features.Payouts.Queries.GetNurseEarnings;

/// <summary>The signed-in nurse's per-booking earnings list, optionally filtered by money-state, paginated.</summary>
public record GetNurseEarningsQuery(string State = null, int Page = 1, int PageSize = 20)
    : IRequest<OperationResult<PagedResult<NurseEarningsItemDto>>>;
