* Extended functionalities

* Added different UIs
This commit is contained in:
2026-06-24 21:43:40 +02:00
parent 282f4864c4
commit f15bb7a916
348 changed files with 59057 additions and 498 deletions

View File

@@ -0,0 +1,49 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MealPlan.Api.Models;
[Table("DietUserProfiles")]
public class DietUserProfile
{
[Column("UserId")]
public Guid UserId { get; set; }
[Column("HeightCm")]
public decimal HeightCm { get; set; }
[Column("WeightKg")]
public decimal WeightKg { get; set; }
[Column("Age")]
public int Age { get; set; }
[Column("Sex")]
[MaxLength(16)]
public string Sex { get; set; } = "male";
[Column("ActivityLevel")]
[MaxLength(32)]
public string ActivityLevel { get; set; } = "moderate";
[Column("Goal")]
[MaxLength(32)]
public string Goal { get; set; } = "maintain";
[Column("AllergiesNotes")]
public string? AllergiesNotes { get; set; }
[Column("DislikedFoods")]
public string? DislikedFoods { get; set; }
[Column("MealsPerDayMask")]
public int MealsPerDayMask { get; set; } = 15;
[Column("CreatedAt")]
public DateTime CreatedAt { get; set; }
[Column("UpdatedAt")]
public DateTime? UpdatedAt { get; set; }
public ApplicationUser? User { get; set; }
}