feat(api): ApplicationInWorkValidator добававлена валидация планировщика, ApplicationInWorkController добавлена обьязательная настройка планировщика
This commit is contained in:
@@ -28,16 +28,19 @@
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class ScheduleRequest
|
||||
{
|
||||
public DateTimeOffset NextRun { get; set; }
|
||||
|
||||
//public DateTimeOffset? LastRun { get; set; }
|
||||
public List<EsppSchValueRequest> EsppSchValues { get; set; } = new List<EsppSchValueRequest>();
|
||||
}
|
||||
|
||||
//public string Timezone { get; set; } = string.Empty;
|
||||
|
||||
public required int TypeScheduleId { get; set; }
|
||||
public class EsppSchValueRequest
|
||||
{
|
||||
public Guid TypeValueId { get; set; }
|
||||
|
||||
public List<Guid> Values { get; set; } = new List<Guid>();
|
||||
public Guid TypeConfigId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user