ComputerHardwareStore_YouAr.../ComputerHardwareStore/ComputerHardwareStoreContracts/ViewModels/OrderViewModel.cs

16 lines
519 B
C#
Raw Normal View History

2024-04-18 15:03:40 +04:00
using ComputerHardwareStoreDataModels.Models;
using System.ComponentModel;
namespace ComputerHardwareStoreContracts.ViewModels
{
public class OrderViewModel : IOrderModel
2024-04-18 15:03:40 +04:00
{
public int Id { get; set; }
[DisplayName("Стоимость")]
public double Cost { get; set; }
[DisplayName("Дата создания")]
2024-04-29 12:17:45 +04:00
public DateTime DateCreate { get; set; } = DateTime.Now;
public Dictionary<int, (IProductModel, int)> OrderProduct { get; set; } = new();
2024-04-18 15:03:40 +04:00
}
}