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.
ShopNCook/Models/PreparationStep.cs

20 lines
427 B

using System.Runtime.Serialization;
namespace Models
{
[DataContract]
public record PreparationStep
{
[DataMember]
public string Name { get; init; }
[DataMember]
public string Description { get; init; }
public PreparationStep(string name, string description)
{
Name = name;
Description = description;
}
}
}