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

24 lines
700 B
C#
Raw Normal View History

2023-04-07 10:55:40 +04:00
using CanteenDataModels.Enums;
using CanteenDataModels.Models;
2023-04-06 14:34:58 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CanteenContracts.BindingModels
{
public class LunchBindingModel : ILunchModel
{
2023-04-07 10:55:40 +04:00
public int Id { get; set; }
public int VisitorId { get; set; }
2023-04-06 14:34:58 +04:00
public string LunchName { get; set; } = string.Empty;
public double Cost { get; set; }
2023-04-07 10:55:40 +04:00
public DateTime DateCreate { get; set; } = DateTime.Now;
public Dictionary<int, IProductModel> LunchProducts { get; set; } = new();
public Dictionary<int, IOrderModel> LunchOrders { get; set; } = new();
2023-04-06 14:34:58 +04:00
}
}