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

21 lines
703 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Fitness_core_BE.Models
{
public class CusWeightLossProgress
{
[Key]
public Guid WeeklyProgressId { get; set; }
public decimal? Weight { get; set; }
public DateTime RecordedAt { get; set; } = DateTime.UtcNow;
public Guid FKCusId { get; set; }
[ForeignKey("FKCusId")]
public virtual Customer Customer { get; set; }
public Guid CustomerTargetId { get; set; }
[ForeignKey("CustomerTargetId")]
public virtual CustomerTarget CustomerTarget { get; set; }
public bool IsActive { get; set; } = true;
}
}