using ComputerShopDataModels.Models; using System.ComponentModel; namespace ComputerShopContracts.ViewModels { public class AssemblyViewModel : IAssemblyModel { public int Id { get; set; } public int UserId { get; set; } [DisplayName("Название сборки")] public string AssemblyName { get; set; } = string.Empty; [DisplayName("Стоимость")] public double Cost { get; set; } [DisplayName("Категория")] public string Category { get; set; } = string.Empty; public Dictionary AssemblyComponents { get; set; } = new(); } }