CourseWork_Factory/FactoryView/FactoryContracts/ViewModels/ComponentViewModel.cs
2023-05-19 21:35:04 +04:00

17 lines
415 B
C#

using FactoryDataModels.Models;
using System.ComponentModel;
namespace FactoryContracts.ViewModels
{
public class ComponentViewModel : IComponentModel
{
public int Id { get; set; }
[DisplayName("Название компонента")]
public string ComponentName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Cost { get; set; }
}
}