라벨할당 수정, 상세 조회 API
This commit is contained in:
@@ -2,7 +2,9 @@ package com.kamco.cd.kamcoback.label.dto;
|
||||
|
||||
import com.kamco.cd.kamcoback.common.utils.enums.CodeExpose;
|
||||
import com.kamco.cd.kamcoback.common.utils.enums.EnumType;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import java.time.ZonedDateTime;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
@@ -78,10 +80,31 @@ public class LabelAllocateDto {
|
||||
}
|
||||
}
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@AllArgsConstructor
|
||||
public static class AllocateDto {
|
||||
|
||||
@Schema(description = "자동/수동여부(AUTO/MANUAL)", example = "AUTO")
|
||||
private String autoType;
|
||||
|
||||
@Schema(description = "회차", example = "4")
|
||||
private Integer stage;
|
||||
|
||||
@Schema(description = "라벨러 할당 목록")
|
||||
private List<TargetUser> labelers;
|
||||
|
||||
@Schema(description = "검수자 할당 목록")
|
||||
private List<TargetInspector> inspectors;
|
||||
}
|
||||
|
||||
@Getter
|
||||
public static class TargetUser {
|
||||
|
||||
@Schema(description = "라벨러 사번", example = "labeler44")
|
||||
private final String userId;
|
||||
|
||||
@Schema(description = "할당 건수", example = "200")
|
||||
private final int demand;
|
||||
|
||||
public TargetUser(String userId, int demand) {
|
||||
@@ -94,7 +117,10 @@ public class LabelAllocateDto {
|
||||
@AllArgsConstructor
|
||||
public static class TargetInspector {
|
||||
|
||||
@Schema(description = "검수자 사번", example = "K20251212001")
|
||||
private final String inspectorUid;
|
||||
|
||||
@Schema(description = "할당 명수", example = "3")
|
||||
private int userCount;
|
||||
}
|
||||
|
||||
@@ -125,4 +151,17 @@ public class LabelAllocateDto {
|
||||
private String employeeNo;
|
||||
private String name;
|
||||
}
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@AllArgsConstructor
|
||||
public static class InferenceDetail {
|
||||
|
||||
private String analTitle;
|
||||
private Integer stage;
|
||||
private ZonedDateTime gukyuinDttm;
|
||||
private Long count;
|
||||
private Long labelCnt;
|
||||
private Long inspectorCnt;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user