[KC-108] ai api batch 작업중
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
package com.kamco.cd.kamcoback.scheduler.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import java.time.ZonedDateTime;
|
||||
import java.util.List;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class JobStatusDto {
|
||||
|
||||
private Long id;
|
||||
|
||||
@JsonProperty("created_at")
|
||||
private ZonedDateTime createdAt;
|
||||
|
||||
@JsonProperty("input1_year")
|
||||
private Integer input1Year;
|
||||
|
||||
@JsonProperty("input2_year")
|
||||
private Integer input2Year;
|
||||
|
||||
@JsonProperty("total_jobs")
|
||||
private Integer totalJobs;
|
||||
|
||||
@JsonProperty("pending_jobs")
|
||||
private Integer pendingJobs;
|
||||
|
||||
@JsonProperty("running_jobs")
|
||||
private Integer runningJobs;
|
||||
|
||||
@JsonProperty("completed_jobs")
|
||||
private Integer completedJobs;
|
||||
|
||||
@JsonProperty("failed_jobs")
|
||||
private Integer failedJobs;
|
||||
|
||||
private String status;
|
||||
|
||||
private List<Object> jobs;
|
||||
|
||||
@JsonProperty("completed_ids")
|
||||
private List<String> completedIds;
|
||||
|
||||
@JsonProperty("processing_ids")
|
||||
private List<String> processingIds;
|
||||
|
||||
@JsonProperty("queued_ids")
|
||||
private List<String> queuedIds;
|
||||
|
||||
@JsonProperty("failed_ids")
|
||||
private List<String> failedIds;
|
||||
}
|
||||
Reference in New Issue
Block a user