PIbd-21_BatylkinaAO_MusoevD.../Canteen/CanteenContracts/ViewModels/OrderViewModel.cs

26 lines
793 B
C#
Raw Normal View History

2023-04-06 14:34:58 +04:00
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; }
2023-04-07 18:58:07 +04:00
public int VisitorId { get; set; }
2023-04-06 14:34:58 +04:00
[DisplayName("ФИО посетителя")]
2023-04-07 18:58:07 +04:00
public string VisitorFIO { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
2023-04-06 14:34:58 +04:00
[DisplayName("Сумма")]
public double Sum { get; set; }
[DisplayName("Дата создания")]
public DateTime DateCreate { get; set; } = DateTime.Now;
}
}