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.
25 lines
588 B
25 lines
588 B
namespace Models
|
|
{
|
|
public 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;
|
|
}
|
|
}
|
|
} |