22 lines
531 B
C#
Raw Normal View History

2023-02-06 11:06:12 +04:00
using PizzeriaDataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PizzeriaContracts.BindingModels
{
2023-02-19 23:38:16 +04:00
public class PizzaBindingModel : IPizzaModel
2023-02-06 11:06:12 +04:00
{
public int Id { get; set; }
public string ProductName { get; set; } = string.Empty;
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> ProductComponents
{
get;
set;
} = new();
}
}