提交 | 用户 | 时间
|
139c6a
|
1 |
package com.iailab.module.data.point.vo; |
D |
2 |
|
|
3 |
import com.alibaba.excel.annotation.ExcelProperty; |
|
4 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
5 |
import lombok.AllArgsConstructor; |
|
6 |
import lombok.Builder; |
|
7 |
import lombok.Data; |
|
8 |
import lombok.NoArgsConstructor; |
|
9 |
import lombok.experimental.Accessors; |
|
10 |
|
|
11 |
import java.math.BigDecimal; |
|
12 |
|
|
13 |
/** |
|
14 |
* 用户 Excel 导入 VO |
|
15 |
*/ |
|
16 |
@Data |
|
17 |
@Builder |
|
18 |
@AllArgsConstructor |
|
19 |
@NoArgsConstructor |
|
20 |
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题 |
|
21 |
public class PointImportExcelVO { |
|
22 |
|
01d6f8
|
23 |
@ExcelProperty("测点编码") |
潘 |
24 |
private String pointNo; |
|
25 |
|
139c6a
|
26 |
@ExcelProperty("测点名称") |
D |
27 |
private String pointName; |
|
28 |
|
|
29 |
@ExcelProperty("测点类型") |
|
30 |
private String pointType; |
|
31 |
|
|
32 |
@ExcelProperty("数据类型") |
|
33 |
private String dataType; |
|
34 |
|
|
35 |
@ExcelProperty("存储类型") |
|
36 |
private String storeType; |
|
37 |
|
|
38 |
@ExcelProperty("测量单位") |
|
39 |
private String unit; |
|
40 |
|
|
41 |
@ExcelProperty("单位转换") |
|
42 |
private BigDecimal unittransfactor; |
|
43 |
|
|
44 |
@ExcelProperty("默认值") |
|
45 |
private BigDecimal defaultValue; |
|
46 |
|
|
47 |
@ExcelProperty("最大值") |
|
48 |
private BigDecimal maxValue; |
|
49 |
|
|
50 |
@ExcelProperty("最小值") |
|
51 |
private BigDecimal minValue; |
|
52 |
|
|
53 |
@ExcelProperty("采集频率") |
|
54 |
private String minfreqid; |
|
55 |
|
01d6f8
|
56 |
@Schema(description = "备注") |
139c6a
|
57 |
@ExcelProperty("备注") |
D |
58 |
private String remark; |
|
59 |
|
|
60 |
@ExcelProperty("数据源类型") |
|
61 |
private String sourceType; |
|
62 |
|
01d6f8
|
63 |
@ExcelProperty("数据源名称") |
潘 |
64 |
private String sourceName; |
139c6a
|
65 |
|
D |
66 |
@ExcelProperty("测点Tag") |
|
67 |
private String tagNo; |
|
68 |
|
01d6f8
|
69 |
@ExcelProperty("平滑尺度") |
潘 |
70 |
private Integer dimension; |
|
71 |
|
|
72 |
@ExcelProperty("值类型") |
|
73 |
private String valueType; |
|
74 |
|
|
75 |
@ExcelProperty("计算公式") |
|
76 |
private String expression; |
|
77 |
|
139c6a
|
78 |
} |