PIbd-22_Aleikin_A.M._Confec.../Confectionery/ConfectioneryContracts/BindingModels/ProductBindingModel.cs

21 lines
523 B
C#
Raw Normal View History

2023-01-31 12:54:51 +04:00
using ConfectioneryDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConfectioneryContracts.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();
}
}