Files
Core_Be/Models/CustomerTarget.cs
Dhananjaya99 bffc9b1686 first commit
2026-09-28 11:44:26 +05:30

26 lines
1.0 KiB
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Fitness_core_BE.Models
{
public class CustomerTarget
{
[Key]
public Guid CustomerTargetId { get; set; }
public Guid FKCusId { get; set; }
[ForeignKey("FKCusId")]
public virtual Customer Customer { get; set; }
public decimal? CurrentWeight { get; set; }
public decimal? CurrentHeight { get; set; }
public decimal? TargetWeight { get; set; }
public string? Goal { get; set; }
public string? TimePeriod { get; set; }
public string? PredictedNutritionsJson { get; set; }
public string? PredictedWeightsJson { get; set; }
public virtual ICollection<CusWeightLossProgress> WeeklyProgresses { get; set; } = new List<CusWeightLossProgress>();
public bool IsChanged { get; set; } = false;
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
public bool IsActive { get; set; } = true;
}
}