You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ShopNCook/Models/Recipe.cs

26 lines
603 B

namespace ShoopNCook.Models
{
internal class Recipe
{
public RecipeInfo Info { get; init; }
public User Owner { get; init; }
public List<Ingredient> Ingredients { get; init; }
public List<PreparationStep> Steps { get; init; }
public Recipe(
RecipeInfo info,
User owner,
List<Ingredient> ingredients,
List<PreparationStep> steps)
{
Info = info;
Owner = owner;
Ingredients = ingredients;
Steps = steps;
}
}
}