yangys
2025-09-19 b0d0191a88912b352385349461b500a4964d693b
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
64
65
66
67
68
69
70
71
72
73
package org.springblade.mdm.basesetting.machine.vo;
 
import com.alibaba.excel.annotation.ExcelIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class MachineExcel {
 
    @ColumnWidth(20)
    @ExcelProperty("机床编号")
    private String code;
    @ColumnWidth(20)
    @ExcelProperty("设备编号")
    private String equipmentCode;
    @ExcelProperty("机床型号")
    private String name;
    @ExcelIgnore
    @ExcelProperty("机床组")
    private String machineGroupCode;
    @ExcelProperty("机床组")
    private String machineGroupName;
    /**
     * 机器类型(规格):01车床/02铣床,在业务字典配置(key=machine_spec)
     */
    @ExcelProperty("机床类型")
    private String machineSpecName;
 
 
    @ExcelProperty("操作员")
    private String operator;
 
    @ExcelIgnore
    @ExcelProperty("所属单位id")
    private Long ownerDept;
 
    @ExcelProperty("所属单位")
    private String ownerDeptName;
 
    @ExcelProperty("生产商")
    private String manufacturer;
 
    @ExcelIgnore
    @ExcelProperty("控制系统字典key")
    private String controlSystem;
    @ExcelProperty("控制系统")
    private String controlSystemName;
 
    @Schema(description = "程序临时目录")
    @ExcelProperty("程序临时目录")
    private String progTempDir;
 
    @ExcelProperty("程序下发目录")
    private String progSendDir;
 
    @ExcelProperty("下发目录保持时间")
    private Integer sendDirExpiryHours;
 
    @ExcelProperty("程序回传目录")
    private String progReceiveDir;
 
    @ExcelProperty("回传目录保持时间")
    private Integer receiveDirExpiryHours;
 
    @ExcelProperty("备注")
    private String remark;
}