using SushiBarContracts.Attributes; using SushiBarDataModels.Models; using System.ComponentModel; namespace SushiBarContracts.ViewModels { public class IngredientViewModel : IIngredientModel { [Column(visible: false)] public int Id { get; set; } [Column(title: "Название еды для изготовления", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)] public string IngredientName { get; set; } = string.Empty; [Column(title: "Цена", width: 150)] public double Cost { get; set; } } }