PIbd-21_BatylkinaAO_MusoevD.../Canteen/CanteenContracts/BindingModels/DishBindingModel.cs
2023-04-07 17:58:07 +03:00

19 lines
526 B
C#

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 Cost { get; set; }
public int ManagerId { get; set; }
public Dictionary<int, (IProductModel, int)> DishProducts { get; set; } = new();
}
}