Add delivery status and tracking details to user order

This commit is contained in:
masoodafar-web
2025-11-27 18:36:36 +03:30
parent 3e5f8348c2
commit ebd48c02a5
11 changed files with 139 additions and 42 deletions

View File

@@ -1,4 +1,5 @@
namespace BackOffice.BFF.Application.UserOrderCQ.Queries.GetUserOrder;
public class GetUserOrderResponseDto
{
//شناسه
@@ -9,11 +10,36 @@ public class GetUserOrderResponseDto
public long PackageId { get; set; }
//شناسه تراکنش
public long? TransactionId { get; set; }
//وضعیت پرداخت
//وضعیت پرداخت (true برای Success)
public bool PaymentStatus { get; set; }
//تاریخ پرداخت
public DateTime? PaymentDate { get; set; }
//شناسه کاربر
public long UserId { get; set; }
//شناسه آدرس کاربر
public long? UserAddressId { get; set; }
//متن آدرس کاربر
public string? UserAddressText { get; set; }
//جزئیات فاکتور
public List<GetUserOrderResponseFactorDetail>? FactorDetails { get; set; }
//وضعیت ارسال (مقدار عددی DeliveryStatus)
public int DeliveryStatus { get; set; }
//کد رهگیری
public string? TrackingCode { get; set; }
//توضیحات ارسال
public string? DeliveryDescription { get; set; }
// نام کامل کاربر
public string? UserFullName { get; set; }
// کدملی کاربر
public string? UserNationalCode { get; set; }
}
}
public class GetUserOrderResponseFactorDetail
{
public long ProductId { get; set; }
public string ProductTitle { get; set; }
public string? ProductThumbnailPath { get; set; }
public long? UnitPrice { get; set; }
public int? Count { get; set; }
public long? UnitDiscountPrice { get; set; }
}