* Extended functionalities
* Added different UIs
This commit is contained in:
34
MealPlan.Api/Models/UserDailyGoal.cs
Normal file
34
MealPlan.Api/Models/UserDailyGoal.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace MealPlan.Api.Models;
|
||||
|
||||
[Table("UserDailyGoals")]
|
||||
public class UserDailyGoal
|
||||
{
|
||||
[Column("UserId")]
|
||||
public Guid UserId { get; set; }
|
||||
|
||||
[Column("CalorieGoal")]
|
||||
public int? CalorieGoal { get; set; }
|
||||
|
||||
[Column("ProteinGoalG")]
|
||||
public decimal? ProteinGoalG { get; set; }
|
||||
|
||||
[Column("FatGoalG")]
|
||||
public decimal? FatGoalG { get; set; }
|
||||
|
||||
[Column("CarbsGoalG")]
|
||||
public decimal? CarbsGoalG { get; set; }
|
||||
|
||||
[Column("WaterGoalMl")]
|
||||
public int? WaterGoalMl { get; set; }
|
||||
|
||||
[Column("CreatedAt")]
|
||||
public DateTime CreatedAt { get; set; }
|
||||
|
||||
[Column("UpdatedAt")]
|
||||
public DateTime? UpdatedAt { get; set; }
|
||||
|
||||
public ApplicationUser? User { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user