tuqin
6 天以前 6e43a9e4daa56a07fe605d6bec1370f36bd5fbfc
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
package cn.iocoder.yudao.module.mes.controller.admin.safety.vo.statistics;
 
import cn.idev.excel.annotation.ExcelProperty;
import cn.idev.excel.annotation.write.style.ColumnWidth;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDate;
 
/**
 * 安全生产 - 隐患明细导出 Excel VO
 *
 * 字典值在导出前已转为中文文本,便于业务人员直接查看
 *
 * @author 超级管理员
 */
@Data
public class MesSafetyHazardExcelVO {
 
    @ExcelProperty("隐患编码")
    @ColumnWidth(20)
    private String code;
 
    @ExcelProperty("隐患名称")
    @ColumnWidth(30)
    private String name;
 
    @ExcelProperty("隐患等级")
    @ColumnWidth(12)
    private String hazardLevelName;
 
    @ExcelProperty("隐患来源")
    @ColumnWidth(14)
    private String sourceName;
 
    @ExcelProperty("所属车间")
    @ColumnWidth(16)
    private String workshopName;
 
    @ExcelProperty("具体位置")
    @ColumnWidth(24)
    private String location;
 
    @ExcelProperty("隐患描述")
    @ColumnWidth(40)
    private String description;
 
    @ExcelProperty("发现日期")
    @ColumnWidth(14)
    private LocalDate foundDate;
 
    @ExcelProperty("整改责任人")
    @ColumnWidth(14)
    private String chargeUserName;
 
    @ExcelProperty("整改期限")
    @ColumnWidth(14)
    private LocalDate deadline;
 
    @ExcelProperty("状态")
    @ColumnWidth(12)
    private String statusName;
 
    @ExcelProperty("是否超期")
    @ColumnWidth(12)
    private String overdueText;
 
    @ExcelProperty("整改措施")
    @ColumnWidth(40)
    private String measure;
 
    @ExcelProperty("整改完成日期")
    @ColumnWidth(16)
    private LocalDate finishDate;
 
    @ExcelProperty("验收意见")
    @ColumnWidth(30)
    private String checkResult;
 
    @ExcelProperty("备注")
    @ColumnWidth(24)
    private String remark;
 
    /**
     * 占位字段,避免 EasyExcel 对无数据表头报错
     */
    @ExcelProperty("")
    @ColumnWidth(2)
    private BigDecimal placeholder;
 
}