добавлены классы вьюМодел для заказов и изделий-компонентов

This commit is contained in:
ekallin 2024-03-23 17:38:43 +04:00
parent f2230ee0c5
commit 4221a8e1d9
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,11 @@
namespace SushiBarContracts.ViewModels
{
public class ReportOrdersViewModel
{
public int Id { get; set; }
public DateTime DateCreate { get; set; }
public string SushiName { get; set; } = string.Empty;
public double Sum { get; set; }
}
}

View File

@ -0,0 +1,10 @@
namespace SushiBarContracts.ViewModels
{
public class ReportSushisComponentViewModel
{
public string ComponentName { get; set; } = string.Empty;
public int TotalCount { get; set; }
public List<Tuple<string, int>> Sushis { get; set; } = new();
}
}