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.
19 lines
641 B
C#
19 lines
641 B
C#
namespace CMSMicroservice.Application.UserAddressCQ.Queries.GetCustomerAddresses;
|
|
|
|
public class GetCustomerAddressesQueryResponse
|
|
{
|
|
public List<CustomerAddressModel> Addresses { get; set; } = new();
|
|
}
|
|
|
|
public class CustomerAddressModel
|
|
{
|
|
public long Id { get; set; }
|
|
public string Title { get; set; } = string.Empty;
|
|
public string Address { get; set; } = string.Empty;
|
|
public string PostalCode { get; set; } = string.Empty;
|
|
public bool IsDefault { get; set; }
|
|
public long CityId { get; set; }
|
|
public string CityName { get; set; } = string.Empty;
|
|
public string ProvinceName { get; set; } = string.Empty;
|
|
}
|