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

}public class GetAllUserAddressByFilterFilter
{
    //شناسه 
    public long? Id { get; set; }
    //شناسه کاربر 
    public long? UserId { get; set; }
    //عنوان 
    public string? Title { get; set; }
    //آدرس 
    public string? Address { get; set; }
    //کدپستی 
    public string? PostalCode { get; set; }
    //پیشفرض؟ 
    public bool? IsDefault { get; set; }
    //شناسه شهر 
    public long? CityId { get; set; }
}
