using FishFactoryContracts.Attributes; using FishFactoryDataModel.Models; using System.ComponentModel; namespace FishFactoryContracts.ViewModels { public class CannedViewModel : ICannedModel { [Column(visible: false)] public int Id { get; set; } [Column(title: "Название консервы", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)] public string CannedName { get; set; } [Column(title: "Цена", width: 80)] public double Price { get; set; } [Column(visible: false)] public Dictionary CannedComponents { get; set; } = new(); } }