云
2026-10-26 10ee450a249e4e5698765048472e7793056b7603
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
package cn.iocoder.yudao.module.mes.controller.admin.tm.tool.vo;
 
import cn.idev.excel.annotation.ExcelProperty;
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 lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
 
import java.time.LocalDateTime;
 
/**
 * MES 工具台账 Excel 导入 VO
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MesTmToolImportExcelVO {
 
    @ExcelProperty("工具编码")
    private String code;
 
    @ExcelProperty("工具名称")
    private String name;
 
    @ExcelProperty("品牌")
    private String brand;
 
    @ExcelProperty("型号规格")
    private String specification;
 
    @ExcelProperty("工具类型")
    private String toolTypeName;
 
    @ExcelProperty("数量")
    private Integer quantity;
 
    @ExcelProperty("可用数量")
    private Integer availableQuantity;
 
    @ExcelProperty(value = "保养维护类型", converter = DictConvert.class)
    @DictFormat(DictTypeConstants.MES_TM_MAINTEN_TYPE)
    private Integer maintenType;
 
    @ExcelProperty("下次保养周期")
    private Integer nextMaintenPeriod;
 
    @ExcelProperty("下次保养日期")
    private LocalDateTime nextMaintenDate;
 
    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat(DictTypeConstants.MES_TM_TOOL_STATUS)
    private Integer status;
 
    @ExcelProperty("备注")
    private String remark;
 
}