// EN: Query to get orders by customer.
// VI: Query lấy orders theo khách hàng.

using MediatR;
using OrderService.API.Application.DTOs;

namespace OrderService.API.Application.Queries;

/// <summary>
/// EN: Query to get orders for a customer with pagination.
/// VI: Query lấy orders cho khách hàng có phân trang.
/// </summary>
public record GetOrdersByCustomerQuery(
    Guid CustomerId,
    int Page = 1,
    int PageSize = 20
) : IRequest<PagedResult<OrderSummaryDto>>;
