PIbd-21_BatylkinaAO_MusoevD.../Canteen/CanteenContracts/BindingModels/OrderBindingModel.cs
Алина Батылкина 6d3c7c0a5d models and contracts are ready
2023-04-07 21:53:52 +04:00

21 lines
560 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 Dictionary<int, (IDishModel, int)> OrderDishes { get; set; } = new ();
}
}