first commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Fitness_core_BE.Models
|
||||
{
|
||||
public class CustomerHealth
|
||||
{
|
||||
[Key]
|
||||
public Guid HealthId { get; set; }
|
||||
public string? BloodGroup { get; set; }
|
||||
public string? Disabilities { get; set; }
|
||||
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
||||
public Guid FKCusId { get; set; }
|
||||
[ForeignKey("FKCusId")]
|
||||
public virtual Customer Customer { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user