PIbd-21_Alekseev_I.S._Confe.../Confectionery/ConfectioneryContracts/BindingModels/PastryBindingModel.cs

22 lines
548 B
C#
Raw Normal View History

2024-03-23 19:50:45 +04:00
using ConfectioneryDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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();
}
}