// EN: Query to list orders by shop.
// VI: Query liệt kê orders theo shop.

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

namespace OrderService.API.Application.Queries;

/// <summary>
/// EN: Query to list orders by shop with filtering and pagination.
/// VI: Query liệt kê orders theo shop có lọc và phân trang.
/// </summary>
public record ListOrdersByShopQuery(
    Guid ShopId,
    string? Status,
    DateTime? FromDate,
    DateTime? ToDate,
    int Page = 1,
    int PageSize = 20
) : IRequest<PagedResult<OrderSummaryDto>>;
