first commit
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user