SUBD_SushiBar/SushiBar/SushiBarContracts/BindingModels/TaskBindingModel.cs

32 lines
813 B
C#
Raw Normal View History

2024-03-26 19:41:39 +04:00
using SushiBarDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SushiBarContracts.BindingModels
{
public class TaskBindingModel : ITaskModel
{
public int Id { get; set; }
public DateTime TaskDate { get; set; } = DateTime.Now;
public SushiBarDataModels.Enum.TaskStatus Status { get; set; } = SushiBarDataModels.Enum.TaskStatus.Неизвестен;
public double FullPrice { get; set; }
public int PlaceId { get; set; }
public int CookId { get; set; }
public int BuyerId { get; set; }
public List<int> MenuIds { get; set; } = new List<int>();
public Dictionary<int, (IMenuModel, int)> TaskMenus { get; set; } = new();
2024-03-26 19:41:39 +04:00
}
}