first commit

This commit is contained in:
Dhananjaya99
2026-09-28 11:44:26 +05:30
parent 721743ae6b
commit bffc9b1686
424 changed files with 46474 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
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;
}
}