gaoluyang
4 天以前 eee03bbfea8b15d1a56ab63bd09a35c6c861c4cb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package cn.iocoder.yudao.module.mes.controller.admin.qc.ncr.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
@Schema(description = "管理后台 - MES 不合格品处理单处置 Request VO")
@Data
public class MesQcNcrDisposeReqVO {
 
    @Schema(description = "NCR编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "NCR编号不能为空")
    private Long id;
 
    @Schema(description = "处置方式(2-报废 3-返工 4-让步放行 6-返修)", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "处置方式不能为空,请从[让步放行、返修、返工、报废]中选择一项")
    private Integer disposition;
 
    @Schema(description = "处理人ID", example = "2")
    private Long handlerUserId;
 
    @Schema(description = "处理结果说明", example = "已完成报废出库")
    private String handleResult;
 
    @Schema(description = "入库仓库编号(处置为让步放行/报废时必填)", example = "7001")
    private Long warehouseId;
 
    @Schema(description = "入库库区编号(处置为让步放行/报废时必填)", example = "7101")
    private Long locationId;
 
    @Schema(description = "入库库位编号(处置为让步放行/报废时必填)", example = "7201")
    private Long areaId;
 
    @Schema(description = "批次号(物料启用批次管理时必填,不存在会自动创建批次)", example = "BATCH20261109001")
    private String batchCode;
 
}