ISEbd-21_Khaliullov_R.A._Co.../Canteen/CanteenContracts/BindingModels/DishBindingModel.cs

18 lines
467 B
C#
Raw Permalink Normal View History

2024-04-30 18:48:42 +04:00
using CanteenDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CanteenContracts.BindingModels
{
public class DishBindingModel : IDishModel
{
public int Id { get; set; }
public string DishName { get; set; } = string.Empty;
public double DishPrice { get; set; }
public Dictionary<int, (IIngredientModel, int)> DishIngredients { get; set; } = new();
}
}