using IceCreamShopDataModels.Models; using IceCreamShopContracts.Attributes; namespace IceCreamShopContracts.ViewModels { public class IceCreamViewModel : IIceCreamModel { [Column(visible: false)] public int Id { get; set; } [Column(title: "Название мороженого", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)] public string IceCreamName { get; set; } = string.Empty; [Column(title: "Цена", width: 150)] public double Price { get; set; } [Column(visible: false)] public Dictionary IceCreamComponents { get; set; } = new(); } }