16 lines
431 B
C#
16 lines
431 B
C#
using ConfectioneryDataModels.Models;
|
|
namespace ConfectioneryContracts.BindingModels
|
|
{
|
|
public class PastryBindingModel : IPastryModel
|
|
{
|
|
public int Id { get; set; }
|
|
public string PastryName { get; set; } = string.Empty;
|
|
public double Price { get; set; }
|
|
public Dictionary<int, (IComponentModel, int)> PastryComponents
|
|
{
|
|
get;
|
|
set;
|
|
} = new();
|
|
}
|
|
}
|