feat(api): ApplicationInWorkValidator добававлена валидация настроек планировщика
This commit is contained in:
@@ -23,5 +23,21 @@
|
||||
public int? AgentTimeOutSec { get; set; }
|
||||
|
||||
public string? AgentScript { get; set; }
|
||||
|
||||
public required ScheduleRequest Schedule { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class ScheduleRequest
|
||||
{
|
||||
public DateTimeOffset NextRun { get; set; }
|
||||
|
||||
//public DateTimeOffset? LastRun { get; set; }
|
||||
|
||||
//public string Timezone { get; set; } = string.Empty;
|
||||
|
||||
public required int TypeScheduleId { get; set; }
|
||||
|
||||
public List<Guid> Values { get; set; } = new List<Guid>();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user