PIbd-23_Borschevskaya_A.A._.../FurnitureAssembly/FurnitureAssemblyContracts/ViewModels/ComponentViewModel.cs

17 lines
560 B
C#
Raw Normal View History

using FurnitureAssemblyContracts.Attributes;
using FurnitureAssemblyDataModels.Models;
2023-01-29 18:06:26 +04:00
namespace FurnitureAssemblyContracts.ViewModels
{
public class ComponentViewModel : IComponentModel
{
[Column(visible: false)]
2023-01-29 18:06:26 +04:00
public int Id { get; set; }
[Column(title: "Название компонента", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
2023-01-29 18:06:26 +04:00
public string ComponentName { get; set; } = string.Empty;
[Column(title: "Цена", width: 70)]
2023-01-29 18:06:26 +04:00
public double Cost { get; set; }
}
}