Files
Francescos.Recipes.World/Francesco.Recipes.World/Models/BackendModels/Ingredient/Ingredient.cs
T
Francesco D'Amico b2ba51d297 update model
2025-03-30 15:56:01 +02:00

17 lines
627 B
C#

namespace Francesco.Recipes.World.Models.BackendModels.Ingredient
{
using Francesco.Recipes.World.Models.BackendModels.IngredientShoppingList;
using Francesco.Recipes.World.Models.BackendModels.RecipeIngredient;
public class Ingredient
{
public Guid Id { get; set; }
public string Name { get; set; } = string.Empty;
public virtual ICollection<RecipeIngredient> RecipeIngredients { get; set; } = new List<RecipeIngredient>();
public virtual ICollection<RecipeIngredientShoppingList> IngredientShoppingLists { get; set; } = new List<RecipeIngredientShoppingList>();
}
}