Last files for merge

This commit is contained in:
Francesco D'Amico
2025-03-19 16:33:40 +01:00
parent b9d0bf2170
commit 02533e9bfb
10 changed files with 41 additions and 42 deletions
@@ -8,7 +8,7 @@ using Francesco.Recipes.World.Models.BackendModels.RecipeIngredient;
public class Recipe : ITimeStampedEntity
{
public Guid Id { get; set; }
public string Name { get; set; }
public string Name { get; set; } = string.Empty;
public string? Description { get; set; }
public Difficulty Difficulty { get; set; }
public int Servings { get; set; }
@@ -20,5 +20,5 @@ public class Recipe : ITimeStampedEntity
public virtual ICollection<RecipeIngredient> RecipeIngredients { get; set; } = new List<RecipeIngredient>();
public virtual ICollection<Instruction> Instructions { get; set; } = new List<Instruction>();
public virtual ICollection<MediaFile> MediaFiles { get; set; } = new List<MediaFile>();
public virtual Favorit Favorit { get; set; } = new();
public virtual Favorit Favorit { get; set; } = new ();
}