liyong
9 天以前 88e384da863bb2f7324cb1e1474885df3b7cce91
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package cn.iocoder.yudao.module.mes.controller.admin.wm.stocktaking.task.vo.result;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
import java.math.BigDecimal;
 
@Schema(description = "管理后台 - MES 盘点结果新增/修改 Request VO")
@Data
public class MesWmStockTakingTaskResultSaveReqVO {
 
    @Schema(description = "编号", example = "1")
    private Long id;
 
    @Schema(description = "任务 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "任务 ID 不能为空")
    private Long taskId;
 
    @Schema(description = "任务行 ID", example = "1")
    private Long lineId;
 
    @Schema(description = "库存台账 ID", example = "1")
    private Long materialStockId;
 
    @Schema(description = "物料 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "物料 ID 不能为空")
    private Long itemId;
 
    @Schema(description = "批次 ID", example = "1")
    private Long batchId;
 
    @Schema(description = "批次编码", example = "B202603080001")
    private String batchCode;
 
    @Schema(description = "仓库 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "仓库 ID 不能为空")
    private Long warehouseId;
 
    @Schema(description = "库区 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "库区 ID 不能为空")
    private Long locationId;
 
    @Schema(description = "库位 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "库位 ID 不能为空")
    private Long areaId;
 
    @Schema(description = "盘点数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "100.000000")
    @NotNull(message = "盘点数量不能为空")
    private BigDecimal takingQuantity;
 
    @Schema(description = "备注", example = "备注")
    private String remark;
 
}