feat(api, domain, core): StatWorkloadTemplate - дополнительная фильтрация по РГ и ЗО.
This commit is contained in:
@@ -73,6 +73,12 @@ namespace PARR.Domain.DTOs.Workload
|
||||
{
|
||||
public required string Title { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// ИД строки, если есть.
|
||||
/// Например JobId
|
||||
/// </summary>
|
||||
public Guid? ObjId { get; init; }
|
||||
|
||||
public required WorkloadSummary Summary { get; init; }
|
||||
|
||||
public required List<WorkloadDailyItem> DailyMetrics { get; init; }
|
||||
|
||||
22
PARR.Domain/Enums/Workload/WorkloadJobSubfliterType.cs
Normal file
22
PARR.Domain/Enums/Workload/WorkloadJobSubfliterType.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace PARR.Domain.Enums.Workload
|
||||
{
|
||||
/// <summary>
|
||||
/// Дополнительный фильтр для работ.
|
||||
/// Отчет Workload, шаблоны
|
||||
/// </summary>
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
public enum WorkloadJobSubfliterType
|
||||
{
|
||||
/// <summary>
|
||||
/// ЗО
|
||||
/// </summary>
|
||||
ResponseArea = 0,
|
||||
|
||||
/// <summary>
|
||||
/// РГ
|
||||
/// </summary>
|
||||
WorkGroup=1
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user