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.
20 lines
514 B
20 lines
514 B
|
|
namespace ShoopNCook.Models
|
|
{
|
|
public class RecipeInfo
|
|
{
|
|
public string Name { get; init; }
|
|
public string Description { get; init; }
|
|
public Uri Image { get; init; }
|
|
public float AverageNote { get; init; }
|
|
|
|
public RecipeInfo(string name, string description, Uri image, float averageNote)
|
|
{
|
|
Name = name;
|
|
Description = description;
|
|
Image = image;
|
|
AverageNote = averageNote;
|
|
}
|
|
}
|
|
}
|