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

}public class GetAllPackageByFilterFilter
{
    //شناسه 
    public long? Id { get; set; }
    //عنوان 
    public string? Title { get; set; }
    //توضیحات 
    public string? Description { get; set; }
    //آدرس تصویر 
    public string? ImagePath { get; set; }
    //قیمت 
    public long? Price { get; set; }
}
