* 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,29 @@
namespace MealPlan.Api.DTOs.MealPlan;
public class MealPlanEntryDto
{
public int Id { get; set; }
public DateOnly PlanDate { get; set; }
public int MealCategory { get; set; }
public int RecipeId { get; set; }
public string RecipeName { get; set; } = string.Empty;
public decimal Portions { get; set; }
public int? Calories { get; set; }
}
public class UpsertMealPlanEntryDto
{
public DateOnly PlanDate { get; set; }
public int MealCategory { get; set; }
public int RecipeId { get; set; }
public decimal Portions { get; set; } = 1m;
}
public class ShoppingListItemDto
{
public string Name { get; set; } = string.Empty;
public string? Unit { get; set; }
public decimal? TotalGrams { get; set; }
public decimal? TotalAmount { get; set; }
public IReadOnlyList<string> Breakdown { get; set; } = Array.Empty<string>();
}