// EN: Query to get appointments by customer with pagination.
// VI: Query lấy appointments theo customer với phân trang.

using BookingService.API.Application.DTOs;
using MediatR;

namespace BookingService.API.Application.Queries;

/// <summary>
/// EN: Query to get appointments by customer with pagination.
/// VI: Query để lấy appointments theo customer với phân trang.
/// </summary>
public record GetAppointmentsByCustomerQuery(
    Guid CustomerId,
    int Page = 1,
    int PageSize = 20
) : IRequest<PaginatedList<AppointmentDto>>;
