32 lines
813 B
C#
32 lines
813 B
C#
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();
|
||
|
||
}
|
||
}
|