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.
28 lines
861 B
C#
28 lines
861 B
C#
namespace CMSMicroservice.Application.PackageCQ.Queries.GetCustomerPackageDetails;
|
|
|
|
public class GetCustomerPackageDetailsResponseDto
|
|
{
|
|
public long Id { get; set; }
|
|
public string Title { get; set; }
|
|
public string Description { get; set; }
|
|
public long Price { get; set; }
|
|
public string ImagePath { get; set; }
|
|
public List<PackageFeatureDto> Features { get; set; } = new();
|
|
public PurchaseRequirementsDto Requirements { get; set; }
|
|
}
|
|
|
|
public class PackageFeatureDto
|
|
{
|
|
public string Title { get; set; }
|
|
public string Description { get; set; }
|
|
public string Icon { get; set; }
|
|
public bool IsHighlighted { get; set; }
|
|
}
|
|
|
|
public class PurchaseRequirementsDto
|
|
{
|
|
public bool RequiresMembership { get; set; }
|
|
public long MinimumWalletBalance { get; set; }
|
|
public List<string> Restrictions { get; set; } = new();
|
|
}
|