PIbd-21_MasenkinMS_Aircraft.../AircraftPlant/AircraftPlantContracts/ViewModels/ReportPlaneComponentViewModel.cs
2024-03-25 00:53:24 +04:00

30 lines
834 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AircraftPlantContracts.ViewModels
{
/// <summary>
/// Модель для отчета по компонентам
/// </summary>
public class ReportPlaneComponentViewModel
{
/// <summary>
/// Название изделия
/// </summary>
public string PlaneName { get; set; } = string.Empty;
/// <summary>
/// Итоговое количество
/// </summary>
public int TotalCount { get; set; }
/// <summary>
/// Список компонентов изделия
/// </summary>
public List<(string Component, int Count)> Components { get; set; } = new();
}
}