first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Fitness_core_BE.Models
|
||||
{
|
||||
public class CustomerInvoiceItem
|
||||
{
|
||||
[Key]
|
||||
public Guid CustomerInvoiceItemId { get; set; }
|
||||
public Guid FKCustomerInvoiceId { get; set; }
|
||||
[ForeignKey("FKCustomerInvoiceId")]
|
||||
public virtual CustomerInvoice CustomerInvoice { get; set; }
|
||||
public string? ItemName { get; set; }
|
||||
public string? ItemDescription { get; set; }
|
||||
public decimal ItemPrice { get; set; }
|
||||
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user