baoshiwei
2025-03-12 3c2c87364b89de46d12e95abd5bdf8cbd2c6dbf6
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
package cn.shlanbao.qms.domain.vo;
 
import cn.shlanbao.qms.domain.LbRetestResult;
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;
 
 
 
/**
 * 复测记录视图对象 lb_retest_result
 *
 * @author Lion Li
 * @date 2025-03-10
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = LbRetestResult.class)
public class LbRetestResultVo implements Serializable {
 
    @Serial
    private static final long serialVersionUID = 1L;
 
    /**
     * 
     */
    @ExcelProperty(value = "")
    private Long id;
 
    /**
     * 批次号
     */
    @ExcelProperty(value = "批次号")
    private String batchCode;
 
    /**
     * 测试序号
     */
    @ExcelProperty(value = "测试序号")
    private String testNum;
 
    /**
     * 测试项目
     */
    @ExcelProperty(value = "测试项目")
    private String testItem;
 
    /**
     * 复测次数
     */
    @ExcelProperty(value = "复测次数")
    private String retestNum;
 
    /**
     * 设备号
     */
    @ExcelProperty(value = "设备号")
    private String deviceCode;
 
    /**
     * 用户帐号
     */
    @ExcelProperty(value = "用户帐号")
    private String userName;
 
    /**
     * 环境温度
     */
    @ExcelProperty(value = "环境温度")
    private String temp;
 
    /**
     * 实际电压
     */
    @ExcelProperty(value = "实际电压")
    private Long voltage;
 
    /**
     * 实际电流
     */
    @ExcelProperty(value = "实际电流")
    private Long loadCurrent;
 
    /**
     * 标准距离
     */
    @ExcelProperty(value = "标准距离")
    private Long stdDistance;
 
    /**
     * 感应物
     */
    @ExcelProperty(value = "感应物")
    private String inductor;
 
    /**
     * 输出引脚(黑;白)
     */
    @ExcelProperty(value = "输出引脚", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "黑=;白")
    private String output;
 
    /**
     * 测试数据
     */
    @ExcelProperty(value = "测试数据")
    private Long testValue;
 
    /**
     * 判断条件(最小值<=真实值<=最大值 )
     */
    @ExcelProperty(value = "判断条件", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "最=小值<=真实值<=最大值")
    private String judgeDetail;
 
    /**
     * 测试结果(OK; NG)
     */
    @ExcelProperty(value = "测试结果", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "O=K;,N=G")
    private String testResult;
 
    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;
 
 
}