4 天以前 06321d70dd7617fdc7d475b190e629143fec3263
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
56
57
58
59
60
61
62
63
package cn.iocoder.yudao.module.mes.controller.admin.pro.pallet.vo;
 
import cn.idev.excel.annotation.ExcelIgnore;
import cn.idev.excel.annotation.ExcelProperty;
import cn.idev.excel.annotation.write.style.ColumnWidth;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import cn.iocoder.yudao.module.mes.enums.DictTypeConstants;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - MES 托盘码 Response VO")
@Data
public class MesProPalletRespVO {
 
    @Schema(description = "编号", example = "1024")
    @ExcelIgnore
    private Long id;
 
    @Schema(description = "托盘码", example = "PC20260818L01A001-P01")
    @ExcelProperty("托盘码")
    @ColumnWidth(30)
    private String code;
 
    @Schema(description = "生产批次编号", example = "1024")
    @ExcelIgnore
    private Long batchId;
 
    @Schema(description = "批次号", example = "PC20260818L01A001")
    @ExcelProperty("批次号")
    @ColumnWidth(30)
    private String batchCode;
 
    @Schema(description = "批次内托盘序号", example = "1")
    @ExcelProperty("托盘序号")
    private Integer palletNo;
 
    @Schema(description = "可装袋数(袋/托盘)", example = "25")
    @ExcelProperty("可装袋数")
    private Integer capacity;
 
    @Schema(description = "已绑定袋码数量", example = "10")
    @ExcelProperty("已装袋数")
    private Integer bagCount;
 
    @Schema(description = "状态(字典 mes_pro_pallet_status)", example = "10")
    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat(DictTypeConstants.MES_PRO_PALLET_STATUS)
    private Integer status;
 
    @Schema(description = "备注")
    @ExcelProperty("备注")
    @ColumnWidth(30)
    private String remark;
 
    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    @ColumnWidth(20)
    private LocalDateTime createTime;
 
}