Generator Changes at 11/25/2025 4:32:37 AM +03:30

This commit is contained in:
masoodafar-web
2025-11-25 04:33:50 +03:30
parent c871f8e4c0
commit b91c83db7e
4 changed files with 55 additions and 61 deletions

View File

@@ -1,35 +1,7 @@
using CMSMicroservice.Domain.Enums;
namespace CMSMicroservice.Application.UserOrderCQ.Commands.SubmitShopBuyOrder;
public class SubmitShopBuyOrderResponseDto
{
//شناسه
public long Id { get; set; }
//
public PaymentStatus PaymentStatus { get; set; }
//
public DateTime? PaymentDate { get; set; }
//
public PaymentMethod? PaymentMethod { get; set; }
//
public string? UserAddressText { get; set; }
//
public long? TotalAmount { get; set; }
//
public List<SubmitShopBuyOrderFactorDetail>? FactorDetails { get; set; }
}public class SubmitShopBuyOrderFactorDetail
{
//شناسه
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; }
}
}

View File

@@ -1,5 +1,3 @@
using CMSMicroservice.Domain.Enums;
namespace CMSMicroservice.Application.UserOrderCQ.Queries.GetAllUserOrderByFilter;
public class GetAllUserOrderByFilterResponseDto
{
@@ -31,5 +29,20 @@ public class GetAllUserOrderByFilterResponseDto
//
public string? UserAddressText { get; set; }
//
public long? TotalAmount { get; set; }
public List<GetAllUserOrderByFilterResponseModelFactorDetail>? FactorDetails { get; set; }
}
public class GetAllUserOrderByFilterResponseModelFactorDetail
{
//شناسه
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; }
}

View File

@@ -1,5 +1,3 @@
using CMSMicroservice.Domain.Enums;
namespace CMSMicroservice.Application.UserOrderCQ.Queries.GetUserOrder;
public class GetUserOrderResponseDto
{
@@ -22,8 +20,22 @@ public class GetUserOrderResponseDto
//
public PaymentMethod? PaymentMethod { get; set; }
//
public long? TotalAmount { get; set; }
//
public string? UserAddressText { get; set; }
//
public List<GetUserOrderResponseFactorDetail>? FactorDetails { 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; }
}