feat(api): jobGroup - управление автораспределением
This commit is contained in:
@@ -489,6 +489,11 @@
|
||||
public const string Distribute = Base + "/distributor/";
|
||||
}
|
||||
|
||||
public static class DistributionPeriod
|
||||
{
|
||||
public const string GetAll = Base + "/distribution-periods/";
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region SyncTask
|
||||
|
||||
@@ -27,7 +27,12 @@
|
||||
|
||||
public Guid? ScheduleExcludeTypeCalendarId { get; set; }
|
||||
|
||||
//public bool IsAutoDistributionEnabled { get; set; }
|
||||
public bool IsAutoDistributionEnabled { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Настройки автораспределения
|
||||
/// </summary>
|
||||
public DistributionConfigRequest? DistributionConfig { get; set; }
|
||||
|
||||
//public bool IsAgent { get; set; }
|
||||
|
||||
@@ -46,4 +51,19 @@
|
||||
|
||||
public Guid TypeConfigId { get; set; }
|
||||
}
|
||||
|
||||
public class DistributionConfigRequest
|
||||
{
|
||||
public Guid DistributionPeriodId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Исключать выходные и праздники
|
||||
/// </summary>
|
||||
public bool IsExcludeWeekends { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Группировать по рабочей группе
|
||||
/// </summary>
|
||||
public bool IsGroupingByWorkGroup { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user