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/RecipeState.cs

23 lines
577 B

namespace Models
{
public class RecipeState
{
public uint PersonAmount { get; private init; }
public bool IsAccountFavorite { get; private init; }
public uint AccountNote { get; private init; }
public Recipe Recipe { get; private init; }
public RecipeState(uint personAmount, bool isAccountFavorite, uint accountNote, Recipe recipe)
{
PersonAmount = personAmount;
IsAccountFavorite = isAccountFavorite;
AccountNote = accountNote;
Recipe = recipe;
}
}
}