PIbd-21_Kouvshinoff_T._A._A.../AutomobilePlant/AutomobilePlantContracts/ViewModels/ComponentViewModel.cs

20 lines
520 B
C#
Raw Normal View History

2024-02-11 16:43:19 +04:00
using AutomobilePlantDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutomobilePlantContracts.ViewModels
{
public class ComponentViewModel : IComponentModel
{
public int Id { get; set; }
2024-02-12 14:42:27 +04:00
[DisplayName("Component's name")]
2024-02-11 16:43:19 +04:00
public string ComponentName { get; set; } = string.Empty;
2024-02-12 14:42:27 +04:00
[DisplayName("Cost")]
2024-02-11 16:43:19 +04:00
public double Cost { get; set; }
}
}