using CanteenDataModels.Enums; using CanteenDataModels.Models; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CanteenContracts.View { public class OrderViewModel : IOrderModel { [DisplayName("Номер")] public int Id { get; set; } public int VisitorId { get; set; } [DisplayName("ФИО посетителя")] public string VisitorFIO { get; set; } = string.Empty; public string Description { get; set; } = string.Empty; [DisplayName("Сумма")] public double Sum { get; set; } [DisplayName("Дата создания")] public DateTime DateCreate { get; set; } = DateTime.Now; } }