b2d676b555
- Add GetCustomerProfileResponseDto for retrieving customer profile information. - Create GetCustomerReferralsQuery and GetCustomerReferralsQueryHandler to fetch customer referrals with pagination and filtering options. - Introduce GetCustomerReferralsResponseDto to structure the response for customer referrals. - Implement GetCustomerSettingsQuery and GetCustomerSettingsQueryHandler to retrieve user settings. - Add GetCustomerOrder and GetCustomerOrderQueryHandler for fetching specific customer orders. - Create GetCustomerOrderHistoryQuery and GetCustomerOrderHistoryQueryHandler to retrieve order history with filtering options. - Implement GetCustomerOrdersQuery and GetCustomerOrdersQueryHandler for fetching multiple customer orders with filters. - Add GetCustomerWalletChangeLogQuery and GetCustomerWalletChangeLogQueryHandler for retrieving wallet change logs. - Implement GetCustomerWithdrawalSettingsQuery and GetCustomerWithdrawalSettingsQueryHandler for fetching withdrawal settings. - Create GetCustomerWithdrawalsQuery and GetCustomerWithdrawalsQueryHandler to retrieve customer withdrawal requests.
36 lines
1.3 KiB
C#
36 lines
1.3 KiB
C#
using CMSMicroservice.Domain.Enums;
|
|
|
|
namespace CMSMicroservice.Application.UserOrderCQ.Queries.GetCustomerOrder;
|
|
|
|
public class GetCustomerOrderResponseDto
|
|
{
|
|
public long Id { get; set; }
|
|
public long Amount { get; set; }
|
|
public long? PackageId { get; set; }
|
|
public long? TransactionId { get; set; }
|
|
public PaymentStatus PaymentStatus { get; set; }
|
|
public DateTime? PaymentDate { get; set; }
|
|
public long UserId { get; set; }
|
|
public long UserAddressId { get; set; }
|
|
public PaymentMethod? PaymentMethod { get; set; }
|
|
public string UserAddressText { get; set; }
|
|
public List<FactorDetailDto> FactorDetails { get; set; } = new();
|
|
public DeliveryStatus DeliveryStatus { get; set; }
|
|
public string TrackingCode { get; set; }
|
|
public string DeliveryDescription { get; set; }
|
|
public string UserFullName { get; set; }
|
|
public string UserNationalCode { get; set; }
|
|
public long VatAmount { get; set; }
|
|
public double VatPercentage { get; set; }
|
|
}
|
|
|
|
public class FactorDetailDto
|
|
{
|
|
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; }
|
|
}
|