PIbd-23_Elatomtsev_L.K._Con.../Confectionery/ConfectioneryContracts/BindingModels/PastryBindingModel.cs

16 lines
431 B
C#
Raw Permalink Normal View History

2024-03-13 14:54:56 +04:00
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();
}
}