라벨 할당,이관 리턴형식 수정
This commit is contained in:
@@ -87,8 +87,8 @@ public class LabelAllocateDto {
|
||||
@AllArgsConstructor
|
||||
public static class AllocateDto {
|
||||
|
||||
@Schema(description = "분석 ID", example = "3")
|
||||
private Long analUid;
|
||||
// @Schema(description = "분석 ID", example = "3")
|
||||
// private Long analUid;
|
||||
|
||||
@Schema(description = "비교년도", example = "2022", required = true)
|
||||
private Integer compareYyyy;
|
||||
@@ -96,16 +96,55 @@ public class LabelAllocateDto {
|
||||
@Schema(description = "기준년도", example = "2024", required = true)
|
||||
private Integer targetYyyy;
|
||||
|
||||
@Schema(description = "자동/수동여부(AUTO/MANUAL)", example = "AUTO")
|
||||
private String autoType;
|
||||
@Schema(description = "라벨러 자동/수동여부(AUTO/MANUAL)", example = "AUTO")
|
||||
private String labelerAutoType;
|
||||
|
||||
@Schema(description = "검수자 자동/수동여부(AUTO/MANUAL)", example = "AUTO")
|
||||
private String inspectorAutoType;
|
||||
|
||||
@Schema(description = "회차", example = "4")
|
||||
private Integer stage;
|
||||
|
||||
@Schema(description = "라벨러 할당 목록")
|
||||
@Schema(
|
||||
description = "라벨러 할당 목록",
|
||||
example =
|
||||
"""
|
||||
[
|
||||
{
|
||||
"userId": "123456",
|
||||
"demand": 1000
|
||||
},
|
||||
{
|
||||
"userId": "010222297501",
|
||||
"demand": 400
|
||||
},
|
||||
{
|
||||
"userId": "01022223333",
|
||||
"demand": 440
|
||||
}
|
||||
]
|
||||
""")
|
||||
private List<TargetUser> labelers;
|
||||
|
||||
@Schema(description = "검수자 할당 목록")
|
||||
@Schema(
|
||||
description = "검수자 할당 목록",
|
||||
example =
|
||||
"""
|
||||
[
|
||||
{
|
||||
"inspectorUid": "K20251216001",
|
||||
"userCount": 1000
|
||||
},
|
||||
{
|
||||
"inspectorUid": "01022225555",
|
||||
"userCount": 340
|
||||
},
|
||||
{
|
||||
"inspectorUid": "K20251212001",
|
||||
"userCount": 500
|
||||
}
|
||||
]
|
||||
""")
|
||||
private List<TargetInspector> inspectors;
|
||||
}
|
||||
|
||||
@@ -201,7 +240,21 @@ public class LabelAllocateDto {
|
||||
@Schema(description = "회차", example = "4")
|
||||
private Integer stage;
|
||||
|
||||
@Schema(description = "라벨러 할당 목록")
|
||||
@Schema(
|
||||
description = "라벨러 할당 목록",
|
||||
example =
|
||||
"""
|
||||
[
|
||||
{
|
||||
"userId": "123456",
|
||||
"demand": 10
|
||||
},
|
||||
{
|
||||
"userId": "010222297501",
|
||||
"demand": 5
|
||||
}
|
||||
]
|
||||
""")
|
||||
private List<TargetUser> labelers;
|
||||
|
||||
@Schema(description = "비교년도", example = "2022")
|
||||
|
||||
Reference in New Issue
Block a user