2023-02-07 13:00:02 +04:00
|
|
|
|
using FoodOrdersDataModels.Models;
|
|
|
|
|
|
|
|
|
|
namespace FoodOrdersContracts.BindingModels
|
|
|
|
|
{
|
|
|
|
|
public class DishBindingModel : IDishModel
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
public string DishName { get; set; } = string.Empty;
|
2023-02-12 10:11:34 +04:00
|
|
|
|
public double Price { get; set; }
|
|
|
|
|
public Dictionary<int, (IComponentModel, int)> DishComponents
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
} = new();
|
2023-02-07 13:00:02 +04:00
|
|
|
|
}
|
2023-02-12 10:11:34 +04:00
|
|
|
|
}
|