17 lines
601 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, isFormatable: true, formatter: "0.00##")]
2023-01-29 18:06:26 +04:00
public double Cost { get; set; }
}
}