2023-02-12 22:52:23 +04:00
|
|
|
|
using AutomobilePlantDataModels.Models;
|
|
|
|
|
using System;
|
2023-02-12 20:41:23 +04:00
|
|
|
|
using System.Collections.Generic;
|
2023-02-12 22:52:23 +04:00
|
|
|
|
using System.ComponentModel;
|
2023-02-12 20:41:23 +04:00
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AutomobilePlantContracts.ViewModels
|
|
|
|
|
{
|
2023-02-12 22:52:23 +04:00
|
|
|
|
public class ComponentViewModel : IComponentModel
|
2023-02-12 20:41:23 +04:00
|
|
|
|
{
|
2023-02-12 22:52:23 +04:00
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
[DisplayName("Название компонента")]
|
|
|
|
|
public string ComponentName { get; set; } = string.Empty;
|
|
|
|
|
[DisplayName("Цена")]
|
|
|
|
|
public double Cost { get; set; }
|
2023-02-12 20:41:23 +04:00
|
|
|
|
}
|
|
|
|
|
}
|