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 AssemblyComponents { get; set; } = new(); } }