
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;
        }
    }
}
