using SushiDataModels; using System.ComponentModel; namespace SushiContracts.ViewModels { public class ComponentViewModel : IComponentModel { public int Id { get; set; } [DisplayName("Название")] public string ComponentName { get; set; } = string.Empty; [DisplayName("Цена")] public int ComponentPrice { get; set; } } }