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