23 lines
700 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PrecastConcretePlantDataModels.Models;
using System.ComponentModel;
2023-04-22 23:14:25 +04:00
using PrecastConcretePlantContracts.Attributes;
namespace PrecastConcretePlantContracts.ViewModels
{
public class ComponentViewModel : IComponentModel
{
2023-04-22 23:14:25 +04:00
[Column(visible: false)]
public int Id { get; set; }
2023-04-22 23:14:25 +04:00
[Column("Название компонента", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
public string ComponentName { get; set; } = string.Empty;
2023-04-22 23:14:25 +04:00
[Column("Цена", width: 80)]
public double Cost { get; set; }
}
}