PIbd-21_BatylkinaAO_MusoevD.../Canteen/CanteenContracts/BindingModels/OrderBindingModel.cs
2023-05-19 03:39:58 +04:00

24 lines
743 B
C#

using CanteenDataModels.Enums;
using CanteenDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CanteenContracts.BindingModels
{
public class OrderBindingModel : IOrderModel
{
public int Id { get; set; }
public int VisitorId { get; set; }
public string Description { get; set; } = string.Empty;
public double? Sum { get; set; }
public int? TablewareId { get; set; }
public int? CountTablewares { get; set; }
public Dictionary<int, ICookModel> OrderCooks { get; set; } = new ();
public Dictionary<int, (ITablewareModel, int)> OrderTablewares { get; set; } = new ();
}
}