first commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Fitness_core_BE.Models
|
||||
{
|
||||
public class ClientSubItems
|
||||
{
|
||||
|
||||
[Key]
|
||||
public Guid ClientSubItemsId { get; set; }
|
||||
public Guid FKClientSubscriptionId { get; set; }
|
||||
[ForeignKey("FKClientSubscriptionId")]
|
||||
public virtual ClientSubscription ClientSubscription { get; set; }
|
||||
public string? SubItemName { get; set; }
|
||||
public string? SubItemDescription { get; set; }
|
||||
public decimal SubItemPrice { get; set; }
|
||||
public bool IsActive { get; set; } = true;
|
||||
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user