PIbd-22_Isaeva_A.I._FishFac.../FishFactoryContracts/ViewModels/ComponentViewModel.cs

16 lines
505 B
C#
Raw Normal View History

2024-06-18 15:56:18 +04:00
using FishFactoryContracts.Attributes;
using FishFactoryDataModel.Models;
2024-02-05 19:09:54 +04:00
namespace FishFactoryContracts.ViewModels
{
public class ComponentViewModel : IComponentModel
{
2024-06-18 15:56:18 +04:00
[Column(visible: false)]
public int Id { get; set; }
[Column(title: "Название компонента", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
public string ComponentName { get; set; } = string.Empty;
2024-06-19 13:54:56 +04:00
[Column(title: "Цена", width: 130)]
2024-06-18 15:56:18 +04:00
public double Cost { get; set; }
2024-02-05 19:09:54 +04:00
}
}