PIbd-21_Kouvshinoff_T._A._A.../AutomobilePlant/AutomobilePlantContracts/ViewModels/ComponentViewModel.cs

16 lines
476 B
C#
Raw Normal View History

2024-05-16 00:34:01 +04:00
using AutomobilePlantContracts.Attributes;
using AutomobilePlantDataModels.Models;
2024-02-11 16:43:19 +04:00
namespace AutomobilePlantContracts.ViewModels
{
public class ComponentViewModel : IComponentModel
{
2024-05-16 00:34:01 +04:00
[Column(visible: false)]
public int Id { get; set; }
[Column("Component's name", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
public string ComponentName { get; set; } = string.Empty;
[Column("Cost", width: 100)]
public double Cost { get; set; }
}
2024-02-11 16:43:19 +04:00
}