Files
Francescos.Recipes.World/Francesco.Recipes.World/Models/BackendModels/Ingredient/Ingredient.cs
T
2025-03-18 13:15:08 +01:00

15 lines
659 B
C#

namespace Francesco.Recipes.World.Models.BackendModels.Ingredient
{
using Francesco.Recipes.World.Models.BackendModels.IngredientShoppingList;
using Francesco.Recipes.World.Models.BackendModels.RecipeIngredient;
using Francesco.Recipes.World.Models.BackendModels.Unit;
public class Ingredient
{
public Guid Id { 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>();
}
}