From 7c3d3c4e938bc26b3714fd855bd12c87518c5988 Mon Sep 17 00:00:00 2001 From: Ivan_Starostin Date: Sun, 2 Jun 2024 16:52:48 +0400 Subject: [PATCH] Upload files to 'ShipyardContracts/ViewModels' --- .../ViewModels/ReportOrdersViewModel.cs | 17 +++++++++++++++++ .../ViewModels/ReportShipComponentViewModel.cs | 15 +++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 ShipyardContracts/ViewModels/ReportOrdersViewModel.cs create mode 100644 ShipyardContracts/ViewModels/ReportShipComponentViewModel.cs diff --git a/ShipyardContracts/ViewModels/ReportOrdersViewModel.cs b/ShipyardContracts/ViewModels/ReportOrdersViewModel.cs new file mode 100644 index 0000000..edf3f42 --- /dev/null +++ b/ShipyardContracts/ViewModels/ReportOrdersViewModel.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ShipyardContracts.ViewModels +{ + public class ReportOrdersViewModel + { + public int Id { get; set; } + public DateTime DateCreate { get; set; } + public string ShipName { get; set; } + public double Sum { get; set; } + public string OrderStatus { get; set; } = string.Empty; + } +} diff --git a/ShipyardContracts/ViewModels/ReportShipComponentViewModel.cs b/ShipyardContracts/ViewModels/ReportShipComponentViewModel.cs new file mode 100644 index 0000000..0253fed --- /dev/null +++ b/ShipyardContracts/ViewModels/ReportShipComponentViewModel.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ShipyardContracts.ViewModels +{ + public class ReportShipComponentViewModel + { + public string ShipName { get; set; } = string.Empty; + public int TotalCount { get; set; } + public List> Components { get; set; } = new(); + } +}