22 lines
670 B
C#
Raw Normal View History

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