24 lines
798 B
C#
24 lines
798 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; } = 0;
|
||
public LunchStatus Status { get; set; } = LunchStatus.Создан;
|
||
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)>();
|
||
}
|
||
|
||
}
|