17 lines
501 B
C#
Raw Normal View History

2024-03-23 18:12:12 +04:00
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();
}
}