작업현황 DTO수정
This commit is contained in:
@@ -31,42 +31,28 @@ public class WorkerStatsDto {
|
|||||||
private Long totalAssigned;
|
private Long totalAssigned;
|
||||||
|
|
||||||
@Schema(description = "완료 건수")
|
@Schema(description = "완료 건수")
|
||||||
private Long completed;
|
private Long doneCnt;
|
||||||
|
|
||||||
@Schema(description = "스킵 건수")
|
@Schema(description = "스킵 건수")
|
||||||
private Long skipped;
|
private Long skipCnt;
|
||||||
|
|
||||||
@Schema(description = "남은 작업 건수")
|
@Schema(description = "남은 작업 건수")
|
||||||
private Long remaining;
|
private Long remainingCnt;
|
||||||
|
|
||||||
@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;
|
|
||||||
|
|
||||||
@Schema(description = "3일 전 처리량")
|
@Schema(description = "3일 전 처리량")
|
||||||
private Long day3Ago;
|
private Long day3AgoDoneCnt;
|
||||||
|
|
||||||
@Schema(description = "3일 평균 처리량")
|
@Schema(description = "2일 전 처리량")
|
||||||
private Long average;
|
private Long day2AgoDoneCnt;
|
||||||
|
|
||||||
|
@Schema(description = "1일 전 처리량")
|
||||||
|
private Long day1AgoDoneCnt;
|
||||||
|
|
||||||
|
//@Schema(description = "작업 정체 여부 (3일간 실적이 저조하면 true)")
|
||||||
|
//private Boolean isStagnated;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@Builder
|
@Builder
|
||||||
|
|||||||
Reference in New Issue
Block a user