PIbd-21_BatylkinaAO_MusoevD.../Canteen/CanteenContracts/BindingModels/OrderBindingModel.cs

21 lines
560 B
C#
Raw Normal View History

2023-04-06 14:34:58 +04:00
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
{
2023-04-07 10:55:40 +04:00
public int Id { get; set; }
public int VisitorId { get; set; }
public string Description { get; set; } = string.Empty;
2023-04-07 21:53:52 +04:00
public double? Sum { get; set; }
public Dictionary<int, (IDishModel, int)> OrderDishes { get; set; } = new ();
2023-04-06 14:34:58 +04:00
}
2023-04-07 21:53:52 +04:00
2023-04-06 14:34:58 +04:00
}