Computer_Hardware_Store/HardwareShop/HardwareShopContracts/ViewModels/BuildViewModel.cs
2023-04-01 21:39:41 +04:00

23 lines
660 B
C#

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 UserLogin { get; set; } = string.Empty;
public int UserId { get; set; }
public Dictionary<int, (IComponentModel, int)>? BuildComponents { get; set; }
}
}