20 lines
637 B
C#
20 lines
637 B
C#
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; }
|
|
}
|
|
}
|