17 lines
442 B
C#
17 lines
442 B
C#
|
using AbstractSushiBarDataModels.Models;
|
|||
|
|
|||
|
namespace AbstractSushiBarContracts.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();
|
|||
|
}
|
|||
|
}
|