добавлены классы вьюМодел для заказов и изделий-компонентов
This commit is contained in:
parent
f2230ee0c5
commit
4221a8e1d9
11
SushiBarContracts/ViewModels/ReportOrdersViewModel.cs
Normal file
11
SushiBarContracts/ViewModels/ReportOrdersViewModel.cs
Normal 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; }
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
@ -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();
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user