PIbd-21_Medvedkov_Coursach/ComputerShopContracts/ViewModels/AssemblyViewModel.cs

19 lines
502 B
C#
Raw Normal View History

2024-05-01 04:42:57 +04:00
using ComputerShopDataModels.Models;
using System.ComponentModel;
namespace ComputerShopContracts.ViewModels
{
public class AssemblyViewModel : IAssemblyModel
{
public int Id { get; set; }
[DisplayName("Имя сборки")]
public string AssemblyName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Cost { get; set; }
public int UserId { get; set; }
public Dictionary<int, (IComponentModel, int)> AssemblyComponents { get; set; } = new();
}
}