PIbd-22_Katysheva_N.E._Pizz.../Pizzeria/PizzeriaContracts/BindingModels/PizzaBindingModel.cs

13 lines
375 B
C#
Raw Normal View History

2024-03-11 00:29:35 +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();
}
}