PIbd-23_Kharlamov_A.A._Food.../FoodOrders/AbstractFoodOrdersContracts/BindingModels/DishBindingModel.cs

19 lines
514 B
C#
Raw Normal View History

using AbstractFoodOrdersDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AbstractFoodOrdersContracts.BindingModels
{
public class ProductBindingModel : IDishModel
{
public int Id { get; set; }
public string DishName { get; set; } = string.Empty;
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> DishComponents { get; set; } = new();
}
}