PIbd-21_Kouvshinoff_T._A._A.../AutomobilePlant/AutomobilePlantContracts/ViewModels/ComponentViewModel.cs
2024-05-16 00:34:01 +04:00

16 lines
476 B
C#

using AutomobilePlantContracts.Attributes;
using AutomobilePlantDataModels.Models;
namespace AutomobilePlantContracts.ViewModels
{
public class ComponentViewModel : IComponentModel
{
[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; }
}
}