using System.Runtime.Serialization;
namespace Models
{
///
/// The essential information about a recipe
///
/// The recipe's name
/// The energy input
/// Estimated time of preparation in minutes
/// An illustrative image of the recipe
/// The average rate of the recipe
/// An unique identifier
[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
);
}