Computer_Hardware_Store/HardwareShop/HardwareShopContracts/ViewModels/BuildViewModel.cs

23 lines
643 B
C#
Raw Normal View History

using HardwareShopDataModels.Models;
using System.ComponentModel;
namespace HardwareShopContracts.ViewModels
{
public class BuildViewModel : IBuildModel
{
public int Id { get; set; }
[DisplayName("Цена")]
public decimal Price { get; set; }
[DisplayName("Название компонента")]
public string BuildName { get; set; } = string.Empty;
[DisplayName("Клиент")]
public string UserEmail { get; set; } = string.Empty;
2023-04-01 16:34:06 +04:00
public int UserId { get; set; }
2023-04-01 12:58:12 +04:00
public Dictionary<int, (IComponentModel, int)>? BuildComponents { get; set; }
}
}