Build Error Fix

This commit is contained in:
DanielLee
2026-01-05 12:45:50 +09:00
parent 910c8754e6
commit ba0e408c2b

View File

@@ -52,25 +52,59 @@ public class WorkerStatsDto {
private Long totalAssigned;
@Schema(description = "완료 건수")
private Long doneCnt;
private Long completed;
@Schema(description = "스킵 건수")
private Long skipCnt;
private Long skipped;
@Schema(description = "남은 작업 건수")
private Long remainingCnt;
private Long remaining;
@Schema(description = "3일 전 처리량")
private Long day3AgoDoneCnt;
@Schema(description = "최근 3일간 처리 이력")
private DailyHistory history;
@Schema(description = "작업 정체 여부 (3일간 실적이 저조하면 true)")
private Boolean isStagnated;
// 레거시 필드 (기존 호환성 유지)
@Deprecated
private Long doneCnt; // completed로 대체
@Deprecated
private Long skipCnt; // skipped로 대체
@Deprecated
private Long remainingCnt; // remaining으로 대체
@Deprecated
private Long day3AgoDoneCnt; // history.day3Ago로 대체
@Deprecated
private Long day2AgoDoneCnt; // history.day2Ago로 대체
@Deprecated
private Long day1AgoDoneCnt; // history.day1Ago로 대체
}
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "최근 3일간 일일 처리 이력")
public static class DailyHistory {
@Schema(description = "1일 전 (어제) 처리량")
private Long day1Ago;
@Schema(description = "2일 전 처리량")
private Long day2AgoDoneCnt;
private Long day2Ago;
@Schema(description = "1일 전 처리량")
private Long day1AgoDoneCnt;
@Schema(description = "3일 전 처리량")
private Long day3Ago;
//@Schema(description = "작업 정체 여부 (3일간 실적이 저조하면 true)")
//private Boolean isStagnated;
@Schema(description = "3일 평균 처리량")
private Long average;
}