.NET 8 backend with Zitadel JWT auth, TheMealDB integration, weekly meal plan generation, shopping list aggregation. Vue 3 + Tailwind 4 frontend with dark emerald theme, manual OIDC PKCE auth, all views implemented. Multi-stage Dockerfile with nginx reverse proxy. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
22 lines
537 B
C#
22 lines
537 B
C#
namespace MealPlanner.Models;
|
|
|
|
public enum RecipeSource
|
|
{
|
|
Own,
|
|
TheMealDb
|
|
}
|
|
|
|
public class Recipe
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string? UserId { get; set; }
|
|
public string? ExternalId { get; set; }
|
|
public string Title { get; set; } = "";
|
|
public string Instructions { get; set; } = "";
|
|
public string? ImageUrl { get; set; }
|
|
public RecipeSource Source { get; set; }
|
|
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
|
|
|
public List<RecipeIngredient> Ingredients { get; set; } = [];
|
|
}
|