feat(api): обновлен AppInWorkController под новый респонс, валидация для галки IsAutoDistributionEnabled
This commit is contained in:
@@ -15,7 +15,17 @@
|
||||
|
||||
public required string Solution { get; set; }
|
||||
|
||||
public DateTimeOffset NextRun { get; set; }
|
||||
//public DateTimeOffset NextRun { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Дата начала работ
|
||||
/// </summary>
|
||||
public DateTimeOffset ReferenceDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Включить автораспределение
|
||||
/// </summary>
|
||||
public bool IsAutoDistributionEnabled { get; set; }
|
||||
|
||||
public bool IsAgent { get; set; }
|
||||
|
||||
|
||||
@@ -12,9 +12,13 @@
|
||||
|
||||
public required string Solution { get; set; }
|
||||
|
||||
public DateTimeOffset? LastRun { get; set; }
|
||||
//public DateTimeOffset? LastRun { get; set; }
|
||||
|
||||
public DateTimeOffset NextRun { get; set; }
|
||||
//public DateTimeOffset NextRun { get; set; }
|
||||
|
||||
public DateTimeOffset ReferenceDate { get; set; }
|
||||
|
||||
public bool IsAutoDistributionEnabled { get; set; }
|
||||
|
||||
public bool IsAgent { get; set; }
|
||||
|
||||
@@ -32,7 +36,7 @@
|
||||
|
||||
public ApplicationInWorkScheduleResponse? Schedule { get; set; }
|
||||
|
||||
public List<WorkGroupResponse>? WorkGroups { get; set; }
|
||||
public List<WorkGroupResponse>? WorkGroups { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user