Add payment method and delivery status filters to user order queries

This commit is contained in:
masoodafar-web
2025-11-27 18:59:22 +03:30
parent ebd48c02a5
commit 10035b328b
5 changed files with 73 additions and 2 deletions

View File

@@ -24,4 +24,8 @@ public record GetAllUserOrderByFilterQuery : IRequest<GetAllUserOrderByFilterRes
public DateTime? PaymentDate { get; set; }
//شناسه کاربر
public long? UserId { get; set; }
// وضعیت ارسال (int از DeliveryStatus)
public int? DeliveryStatus { get; set; }
// روش پرداخت (0=IPG,1=Wallet)
public int? PaymentMethod { get; set; }
}

View File

@@ -38,4 +38,6 @@ public class GetAllUserOrderByFilterResponseModel
public string? UserFullName { get; set; }
// کدملی کاربر
public string? UserNationalCode { get; set; }
// روش پرداخت (0=IPG,1=Wallet)
public int PaymentMethod { get; set; }
}

View File

@@ -14,6 +14,8 @@ public class GetUserOrderResponseDto
public bool PaymentStatus { get; set; }
//تاریخ پرداخت
public DateTime? PaymentDate { get; set; }
// روش پرداخت (0=IPG,1=Wallet)
public int PaymentMethod { get; set; }
//شناسه کاربر
public long UserId { get; set; }
//شناسه آدرس کاربر