PIbd-22_Karamushko_M_K_Pizz.../Pizzeria/PizzeriaContracts/BindingModels/PizzaBindingModel.cs

22 lines
527 B
C#
Raw Permalink Normal View History

2023-02-13 20:43:19 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PizzeriaDataModels;
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();
}
}