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
+26
View File
@@ -0,0 +1,26 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Fitness_core_BE.Models
{
public class CustomerSubItem
{
[Key]
public Guid CustomerSubItemId { get; set; }
public Guid FKCustomerSubscriptionId { get; set; }
[ForeignKey("FKCustomerSubscriptionId")]
public virtual CustomerSubscription CustomerSubscription { get; set; }
public string? SubItemName { get; set; }
public string? SubItemDescription { get; set; }
public decimal SubItemPrice { get; set; }
// "OneTime" (charged once, e.g. via a supplemental invoice) | "Recurring" (carried
// forward onto the invoice each time this subscription renews/upgrades).
public string Frequency { get; set; } = "OneTime";
public bool IsActive { get; set; } = true;
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
}
}