Aparyan.ISE-22.MotorPlant/MotorPlantContracts/ViewModels/EngineViewModel.cs
2024-03-23 18:12:12 +04:00

17 lines
501 B
C#

using MotorPlantDataModels.Models;
using System.ComponentModel;
namespace MotorPlantContracts.VeiwModels
{
public class EngineViewModel : IEngineModel
{
public int Id { get; set; }
[DisplayName("Название изделия")]
public string EngineName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> EngineComponents { get; set; } = new();
}
}