Pibd-22_Morozov_V.S_Automob.../AutomobilePlant/AbstractAutoContracts/ViewModel/ComponentViewModel.cs

19 lines
537 B
C#

using AbstractAutoDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
namespace AbstractAutoContracts.ViewModel
{
public class ComponentViewModel : IComponentModel
{
public int Id { get; set; }
[DisplayName("Название компонента")]
public string ComponentName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Cost { get; set; }
}
}