13 lines
383 B
C#
13 lines
383 B
C#
|
using PizzeriaDataModels.Models;
|
|||
|
namespace PizzeriaContracts.BindingModels
|
|||
|
{
|
|||
|
public class ProductBindingModel : IProductModel
|
|||
|
{
|
|||
|
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();
|
|||
|
|
|||
|
}
|
|||
|
}
|