diff --git a/src/main/java/com/kamco/cd/kamcoback/label/dto/WorkerStatsDto.java b/src/main/java/com/kamco/cd/kamcoback/label/dto/WorkerStatsDto.java index efca81b2..6df63cf0 100644 --- a/src/main/java/com/kamco/cd/kamcoback/label/dto/WorkerStatsDto.java +++ b/src/main/java/com/kamco/cd/kamcoback/label/dto/WorkerStatsDto.java @@ -31,42 +31,28 @@ public class WorkerStatsDto { private Long totalAssigned; @Schema(description = "완료 건수") - private Long completed; + private Long doneCnt; @Schema(description = "스킵 건수") - private Long skipped; + private Long skipCnt; @Schema(description = "남은 작업 건수") - private Long remaining; - - @Schema(description = "최근 3일간 처리 이력") - private DailyHistory history; - - @Schema(description = "작업 정체 여부 (3일간 실적이 저조하면 true)") - private Boolean isStagnated; - } - - @Getter - @Setter - @Builder - @NoArgsConstructor - @AllArgsConstructor - @Schema(description = "최근 3일간 일일 처리 이력") - public static class DailyHistory { - - @Schema(description = "1일 전 (어제) 처리량") - private Long day1Ago; - - @Schema(description = "2일 전 처리량") - private Long day2Ago; + private Long remainingCnt; @Schema(description = "3일 전 처리량") - private Long day3Ago; + private Long day3AgoDoneCnt; - @Schema(description = "3일 평균 처리량") - private Long average; + @Schema(description = "2일 전 처리량") + private Long day2AgoDoneCnt; + + @Schema(description = "1일 전 처리량") + private Long day1AgoDoneCnt; + + //@Schema(description = "작업 정체 여부 (3일간 실적이 저조하면 true)") + //private Boolean isStagnated; } + @Getter @Setter @Builder