34 lines
821 B
C#
34 lines
821 B
C#
|
using SushiBarDataModels.Models;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace SushiBarContracts.ViewModels
|
|||
|
{
|
|||
|
public class TaskViewModel : ITaskModel
|
|||
|
{
|
|||
|
[DisplayName("Номер")]
|
|||
|
public int Id { get; set; }
|
|||
|
|
|||
|
[DisplayName("Дата заказа")]
|
|||
|
public DateTime TaskDate { get; set; }
|
|||
|
|
|||
|
[DisplayName("Статус заказа")]
|
|||
|
public SushiBarDataModels.Enum.TaskStatus Status { get; set; }
|
|||
|
|
|||
|
[DisplayName("Сумма")]
|
|||
|
public double FullPrice { get; set; }
|
|||
|
|
|||
|
public int PlaceId { get; set; }
|
|||
|
|
|||
|
public int CookId { get; set; }
|
|||
|
|
|||
|
public int BuyerId { get; set; }
|
|||
|
|
|||
|
public int MenuId { get; set; }
|
|||
|
}
|
|||
|
}
|