using System.ComponentModel; using SewingDressesContracts.Attributes; using SewingDressesDataModels.Models; namespace SewingDressesContracts.ViewModels { public class DressViewModel : IDressModel { [Column(visible: false)] public int Id { get; set; } [Column(title: "Название платья", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)] public string DressName { get; set; } = string.Empty; [Column(title: "Цена", width:100)] public double Price { get; set; } [Column(visible:false)] public Dictionary DressComponents { get; set; } = new(); } }