车间能级提升-智能设备管理系统
zhuguifei
2025-03-14 3e0f519c396ac8a72e7bbd426e4f38fa6cc403dc
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
package org.dromara.eims.domain.vo;
 
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.eims.domain.EimsInspectRecord;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
 
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
 
 
 
/**
 * 点检记录视图对象 eims_inspect_record
 *
 * @author zhuguifei
 * @date 2025-03-13
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = EimsInspectRecord.class)
public class EimsInspectRecordVo extends BaseEntity implements Serializable {
 
    @Serial
    private static final long serialVersionUID = 1L;
 
    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long id;
 
    /**
     * 设备di
     */
    @ExcelProperty(value = "设备di")
    private Long equId;
 
 
    @Translation(type = TransConstant.EQU_ID_TO_NAME, mapper = "equId")
    private String equName;
 
    private String assetNo;
 
    /**
     * 点检名称
     */
    @ExcelProperty(value = "点检名称")
    private String inspName;
 
    /**
     * 点检人
     */
    private Long inspUser;
 
 
    @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "inspUser")
    private String inspUserName;
 
    /**
     * 点检部门
     */
    private Long inspDept;
    @Translation(type = TransConstant.DEPT_ID_TO_NAME, mapper = "inspDept")
    private String inspDeptName;
 
    /**
     * 点检描述
     */
    @ExcelProperty(value = "点检描述")
    private String inspDesc;
 
    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "eims_inspect_status")
    private String status;
 
    /**
     * 点检编码
     */
    @ExcelProperty(value = "点检编码")
    private String inspCode;
 
    /**
     * 值记录方式(字典)
     */
    @ExcelProperty(value = "值记录方式", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "字=典")
    private String recordMode;
 
    /**
     * 参考值
     */
    @ExcelProperty(value = "参考值")
    private String referenceValue;
 
    /**
     * 上限
     */
    @ExcelProperty(value = "上限")
    private String upperLimit;
 
    /**
     * 下限
     */
    @ExcelProperty(value = "下限")
    private String lowLimit;
 
    /**
     * 检查值
     */
    @ExcelProperty(value = "检查值")
    private String checkValue;
 
    /**
     * 点检结果(字典)
     */
    @ExcelProperty(value = "点检结果", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "eims_inspect_result")
    private String inspResult;
 
    /**
     * 点检类型(字典)
     */
    @ExcelDictFormat(dictType = "eims_inspect_type")
    private String inspType;
 
 
    /**
     * 点检时间
     */
    @ExcelProperty(value = "点检时间")
    private Date inspTime;
 
    /**
     * 计划点检日期
     */
    @ExcelProperty(value = "计划点检日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date planTime;
 
    /**
     * 验证人
     */
    @ExcelProperty(value = "验证人")
    private Long verifyUser;
 
    @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "verifyUser")
    private String verifyUserName;
 
    /**
     * 计划id
     */
    @ExcelProperty(value = "计划id")
    private Long planId;
 
    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;
 
 
}