PIbd-21_Nikiforova_V.M._Air.../AircraftPlant/AircraftPlantContracts/ViewModels/PlaneViewModel.cs

24 lines
623 B
C#

using AircraftPlantDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AircraftPlantContracts.ViewModels
{
public class PlaneViewModel : IPlaneModel
{
[DisplayName("Название самолета")]
public string PlaneName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> PlaneComponents { get; set; } = new();
public int Id { get; set; }
}
}