41 lines
1.5 KiB
C#
41 lines
1.5 KiB
C#
namespace Fitness_core_BE.DTOs.CustomerSubscription
|
|
{
|
|
public class CustomerSubscriptionDto
|
|
{
|
|
public Guid SubscriptionId { get; set; }
|
|
public Guid CustomerId { get; set; }
|
|
public string? CustomerName { get; set; }
|
|
public Guid CustomerPlanId { get; set; }
|
|
public string? PlanName { get; set; }
|
|
public decimal PlanPrice { get; set; }
|
|
public int DurationInDays { get; set; }
|
|
public DateTime OnboardDate { get; set; }
|
|
public DateTime? ExpiryDate { get; set; }
|
|
public DateTime? RenewalDate { get; set; }
|
|
public bool IsActive { get; set; }
|
|
public DateTime CreatedAt { get; set; }
|
|
public string? DiscountType { get; set; }
|
|
public decimal? DiscountValue { get; set; }
|
|
public List<CustomerSubItemDto>? SubItems { get; set; }
|
|
}
|
|
|
|
public class CustomerSubItemDto
|
|
{
|
|
public Guid CustomerSubItemId { get; set; }
|
|
public string? SubItemName { get; set; }
|
|
public string? SubItemDescription { get; set; }
|
|
public decimal SubItemPrice { get; set; }
|
|
public string Frequency { get; set; } = "OneTime";
|
|
public bool IsActive { get; set; }
|
|
public DateTime CreatedAt { get; set; }
|
|
}
|
|
|
|
public class AddExtraFeeRequest
|
|
{
|
|
public string Name { get; set; } = string.Empty;
|
|
public string? Description { get; set; }
|
|
public decimal Amount { get; set; }
|
|
public string Frequency { get; set; } = "OneTime"; // "OneTime" | "Recurring"
|
|
}
|
|
}
|