using System.Collections.Immutable;
using System.Runtime.Serialization;
namespace Models
{
///
/// A Recipe
///
/// The essential information of the recipe
/// The creator of the recipe
/// The needed ingredients of the recipe
/// The preparation steps
[DataContract]
public record Recipe(
[property: DataMember] RecipeInfo Info,
[property: DataMember] User Owner,
[property: DataMember] ImmutableList Ingredients,
[property: DataMember] ImmutableList Steps
);
}