feat(api): JobGroupResponse, TemplateResponse - отображение настроек автораспределения
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
namespace PARR.API.Contracts.V1.Responses
|
||||
{
|
||||
public class DistributionPeriodResponse
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public required string Name { get; set; }
|
||||
|
||||
public required string Duration { get; set; }
|
||||
|
||||
public required string Type { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace PARR.API.Contracts.V1.Responses
|
||||
{
|
||||
public class JobGroupDistributionConfigResponse
|
||||
{
|
||||
public bool IsExcludeWeekends { get; set; }
|
||||
|
||||
public bool IsGroupingByWorkGroup { get; set; }
|
||||
|
||||
public DistributionPeriodResponse? Period { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -25,7 +25,10 @@
|
||||
/// </summary>
|
||||
public FieldResponse? GroupingUnitField { get; set; }
|
||||
|
||||
// public bool IsAutoDistributionEnabled { get; set; }
|
||||
/// <summary>
|
||||
/// Включено автораспределение
|
||||
/// </summary>
|
||||
public bool IsAutoDistributionEnabled { get; set; }
|
||||
|
||||
// public bool IsAgent { get; set; }
|
||||
|
||||
@@ -55,6 +58,11 @@
|
||||
/// </summary>
|
||||
public ScheduleExcludeTypeCalendarResponse? ScheduleExcludeTypeCalendar { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Настройки автораспределения
|
||||
/// </summary>
|
||||
public JobGroupDistributionConfigResponse? DistributionConfig { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class JobGroupScheduleResponse
|
||||
@@ -65,4 +73,6 @@
|
||||
|
||||
public List<EsppScheduleValResponse>? Values { get; set; }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -75,5 +75,7 @@
|
||||
public int OrderCount { get; set; }
|
||||
|
||||
public TemplateStatusTypeResponse? StatusType { get; set; }
|
||||
|
||||
public JobGroupDistributionConfigResponse? DistributionConfig { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user