SUBD_SushiBar/SushiBar/SushiBarContracts/BindingModels/TaskBindingModel.cs

32 lines
813 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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();
}
}