PIbd-21_Zaharchenko_M.I._Pi.../Pizzeria/PizzeriaContracts/BindingModels/PizzaBindingModel.cs

14 lines
380 B
C#
Raw Normal View History

2023-02-16 08:52:03 +04:00
using PizzeriaDataModels.Models;
namespace PizzeriaContracts.BindingModels
{
public class PizzaBindingModel : IPizzaModel
{
public int Id { get; set; }
public string PizzaName { get; set; } = string.Empty;
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> PizzaComponents { get; set; } = new();
}
}