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

13 lines
383 B
C#
Raw Normal View History

2024-02-28 01:32:56 +04:00
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();
}
}