first commit

This commit is contained in:
Dhananjaya99
2026-09-28 11:44:26 +05:30
parent 721743ae6b
commit bffc9b1686
424 changed files with 46474 additions and 0 deletions
@@ -0,0 +1,40 @@
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"
}
}