PIbd-22_Gerimovich.I.M._Fur.../FurnitureAssembly/FurnitureAssemblyContracts/ViewModels/WorkPieceViewModel.cs

24 lines
785 B
C#
Raw Normal View History

2024-06-21 18:19:35 +04:00
using FurnitureAssemblyContracts.Attributes;
using FurnitureAssemblyDataModels.Models;
2024-02-28 01:13:41 +04:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FurnitureAssemblyContracts.ViewModels
{
// Класс для отображения пользователю данных о заготовке (заготовках)
public class WorkPieceViewModel : IWorkPieceModel
{
2024-06-21 18:19:35 +04:00
[Column(visible: false)]
2024-02-28 01:13:41 +04:00
public int Id { get; set; }
2024-06-21 18:19:35 +04:00
[Column(title: "Название заготовки", width: 150)]
2024-02-28 01:13:41 +04:00
public string WorkPieceName { get; set; } = string.Empty;
2024-06-21 18:19:35 +04:00
[Column(title: "Цена", width: 150)]
2024-02-28 01:13:41 +04:00
public double Cost { get; set; }
}
}