feat(api,core,dal): Группы работ - управление автокнотролем
This commit is contained in:
@@ -68,12 +68,23 @@
|
||||
/// </summary>
|
||||
public ScheduleExcludeTypeCalendarResponse? ScheduleExcludeTypeCalendar { get; set; }
|
||||
|
||||
public JobGroupAutoControlResponse? AutoControl { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// Настройки автораспределения
|
||||
///// </summary>
|
||||
//public JobGroupDistributionConfigResponse? DistributionConfig { get; set; }
|
||||
}
|
||||
|
||||
public class JobGroupAutoControlResponse
|
||||
{
|
||||
public bool IsEnable { get; set; }
|
||||
|
||||
public bool InitUsedTemplateState { get; set; }
|
||||
|
||||
public bool InitUsedScheduleState { get; set; }
|
||||
}
|
||||
|
||||
public class JobGroupScheduleResponse
|
||||
{
|
||||
public string Timezone { get; set; } = string.Empty;
|
||||
|
||||
@@ -2,14 +2,20 @@
|
||||
|
||||
namespace PARR.API.Contracts.V1.Responses
|
||||
{
|
||||
public class JobGroupTypeResponse
|
||||
public record JobGroupTypeResponse
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Guid Id { get; init; }
|
||||
|
||||
public required JobGroupTypesEnum Code { get; set; }
|
||||
public required JobGroupTypesEnum Code { get; init; }
|
||||
|
||||
public required string Name { get; set; }
|
||||
public required string Name { get; init; }
|
||||
|
||||
public required string Description { get; set; }
|
||||
public required string Description { get; init; }
|
||||
|
||||
public bool IsAllowJobUnitFilter { get; init; }
|
||||
|
||||
public bool IsJobGroupAutoControl { get; init; }
|
||||
|
||||
public bool IsRelationshipsAllowed { get; init; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user