using System.Runtime.Serialization;

namespace Models
{
    [DataContract]
    public record RecipeInfo(
        [property: DataMember] string Name,
        [property: DataMember] uint CalPerPers,
        [property: DataMember] uint CookTimeMins,
        [property: DataMember] Uri? Image,
        [property: DataMember] float AverageNote,
        [property: DataMember] Guid Id
    );
}
