Files
Francescos.Recipes.World/Francesco.Recipes.World/Models/BackendModels/Ingredient/Ingredient.cs
T
Francesco D'Amico 6affee7b8c Initial Migration
2025-03-05 17:29:37 +01:00

17 lines
757 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 int Quantity { 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();
}
}