Create all Models

This commit is contained in:
Francesco D'Amico
2025-03-18 12:02:01 +01:00
parent 6affee7b8c
commit 449533cf0b
18 changed files with 1182 additions and 495 deletions
@@ -7,10 +7,8 @@
public class Ingredient
{
public Guid Id { get; set; }
public string Name { get; set; }
public int Quantity { 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>();
public virtual Unit Unit { get; set; } = new();
}
}