Fixed some properties on models

This commit is contained in:
Francesco D'Amico
2025-03-18 13:15:08 +01:00
parent 449533cf0b
commit 36e107d48e
4 changed files with 8 additions and 7 deletions
@@ -7,7 +7,7 @@
public class Ingredient
{
public Guid Id { get; set; }
public string? Name { get; set; }
public string Name { get; set; }
public virtual ICollection<RecipeIngredient> RecipeIngredients { get; set; } = new List<RecipeIngredient>();
public virtual ICollection<IngredientsShoppingList> IngredientShoppingLists { get; set; } = new List<IngredientsShoppingList>();
}