PIbd-21_Raspaev_N.I._FoodOr.../FoodOrders/FoodOrdersContracts/BindingModels/DishBindingModel.cs
2023-03-11 19:13:24 +04:00

13 lines
378 B
C#

using FoodOrdersDataModels.Models;
namespace FoodOrdersContracts.BindingModels
{
public class DishBindingModel : 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();
}
}