namespace CMSMicroservice.Application.UserCartsCQ.Queries.GetAllUserCartsByFilter;
public record GetAllUserCartsByFilterQuery : IRequest<GetAllUserCartsByFilterResponseDto>
{
    //موقعیت صفحه بندی 
    public PaginationState? PaginationState { get; init; }
    //مرتب سازی بر اساس 
    public string? SortBy { get; init; }
    //فیلتر 
    public GetAllUserCartsByFilterFilter? Filter { get; init; }

}public class GetAllUserCartsByFilterFilter
{
    // 
    public long? Id { get; set; }
    // 
    public long? ProductId { get; set; }
    // 
    public long? UserId { get; set; }
    // 
    public int? Count { get; set; }
}
