14 lines
380 B
C#
14 lines
380 B
C#
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();
|
|
|
|
}
|
|
}
|