PIbd-22_Shabunov_O.A._SushiBar/SushiBarContracts/ViewModels/ChequeViewModel.cs

28 lines
725 B
C#
Raw Normal View History

2024-05-15 21:14:04 +04:00
using System.ComponentModel;
namespace SushiBarContracts.ViewModels
{
public class ChequeViewModel
{
public int Id { get; set; }
public int? CustomerId { get; set; }
[DisplayName("Покупатель")]
public string? CustomerFio { get; set; } = string.Empty;
public Dictionary<int, ChequeItemViewModel> ChequeItems { get; set; } = new();
[DisplayName("Дата заказа")]
public DateTime OrderDate { get; set; }
[DisplayName("Сумма заказа")]
public double TotalSum { get; set; }
public int? PromotionId { get; set; }
[DisplayName("Скидка")]
public float? Discount { get; set; }
}
}