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; }
|
|
|
|
|
|
2024-04-21 13:27:17 +04:00
|
|
|
|
public Dictionary<int, (IMenuModel, int)> TaskMenus { get; set; } = new();
|
2024-03-26 19:41:39 +04:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|