Add payment method and delivery status filters to user order queries
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
|
||||
@@ -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; }
|
||||
//شناسه آدرس کاربر
|
||||
|
||||
Reference in New Issue
Block a user