PIbd-21_BatylkinaAO_MusoevD.../Canteen/CanteenContracts/BindingModels/LunchBindingModel.cs
2023-04-07 10:55:40 +04:00

24 lines
700 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 LunchBindingModel : ILunchModel
{
public int Id { get; set; }
public int VisitorId { get; set; }
public string LunchName { get; set; } = string.Empty;
public double Cost { get; set; }
public DateTime DateCreate { get; set; } = DateTime.Now;
public Dictionary<int, IProductModel> LunchProducts { get; set; } = new();
public Dictionary<int, IOrderModel> LunchOrders { get; set; } = new();
}
}