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

}public class GetAllFactorDetailsByFilterFilter
{
    // 
    public long? Id { get; set; }
    // 
    public long? ProductId { get; set; }
    // 
    public int? Count { get; set; }
    // 
    public long? UnitPrice { get; set; }
    // 
    public int? UnitDiscount { get; set; }
    // 
    public long? OrderId { get; set; }
    // 
    public long? UnitDiscountPrice { get; set; }
    // 
    public bool? IsChangePrice { get; set; }
}
