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

24 lines
765 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 Sum { get; set; }
public LunchStatus Status { get; set; }
public DateTime DateCreate { get; set; } = DateTime.Now;
public DateTime? DateImplement { get; set; }
public Dictionary<int, (IProductModel, int)> LunchProducts { get; set; } = new Dictionary<int, (IProductModel, int)>();
}
}