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

22 lines
548 B

namespace Models
{
public class RecipeInfo
{
public string Name { get; init; }
public uint CookTimeMins { get; init; }
public uint Energy { get; init; }
public Uri Image { get; init; }
public float AverageNote { get; init; }
public RecipeInfo(string name, uint cookTimeMins, Uri image, float averageNote)
{
Name = name;
CookTimeMins = cookTimeMins;
Image = image;
AverageNote = averageNote;
}
}
}