Созданы Bindong и View классы для отчетов

This commit is contained in:
Никита Потапов 2024-03-24 14:54:52 +04:00
parent 4ffda04240
commit 3e3def55a6
3 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,9 @@
namespace SecuritySystemContracts.BindingModels
{
public class ReportBindingModel
{
public string FileName { get; set; } = string.Empty;
public DateTime? DateFrom { get; set; }
public DateTime? DateTo { get; set; }
}
}

View File

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

View File

@ -0,0 +1,9 @@
namespace SecuritySystemContracts.ViewModels
{
public class ReportSecureComponentViewModel
{
public string ComponentName { get; set; } = string.Empty;
public int TotalCount { get; set; }
public List<Tuple<string, int>> Secures { get; set; } = new();
}
}