using FlowerShopContracts.Attributes; using FlowerShopDataModels.Models; namespace FlowerShopContracts.ViewModels { public class FlowerViewModel : IFlowerModel { [Column(visible: false)] public int Id { get; set; } [Column(title: "Название изделия", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)] public string FlowerName { get; set; } = string.Empty; [Column(title: "Цена", width: 150)] public double Price { get; set; } [Column(visible: false)] public Dictionary FlowerComponents { get; set; } = new(); } }