提交 | 用户 | 时间
|
a6de49
|
1 |
package com.iailab.module.data.point.dto; |
H |
2 |
|
|
3 |
import com.iailab.framework.common.validation.group.AddGroup; |
|
4 |
import com.iailab.framework.common.validation.group.UpdateGroup; |
|
5 |
import com.iailab.framework.excel.core.annotations.DictFormat; |
|
6 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
7 |
import io.swagger.v3.oas.annotations.tags.Tag; |
|
8 |
import lombok.Data; |
|
9 |
|
|
10 |
import javax.validation.constraints.NotNull; |
|
11 |
import javax.validation.constraints.Null; |
|
12 |
import java.io.Serializable; |
|
13 |
import java.math.BigDecimal; |
|
14 |
import java.util.Date; |
|
15 |
import java.util.List; |
|
16 |
|
|
17 |
/** |
|
18 |
* @author PanZhibao |
|
19 |
* @Description |
|
20 |
* @createTime 2024年05月11日 |
|
21 |
*/ |
|
22 |
@Data |
|
23 |
@Tag(name = "测点") |
|
24 |
public class DaPointDTO implements Serializable { |
|
25 |
private static final long serialVersionUID = 1L; |
|
26 |
|
|
27 |
@Schema(description = "id") |
|
28 |
@Null(message="{id.null}", groups = AddGroup.class) |
|
29 |
@NotNull(message="{id.require}", groups = UpdateGroup.class) |
|
30 |
private String id; |
|
31 |
|
|
32 |
@Schema(description = "测点编码", required = true) |
|
33 |
private String pointNo; |
|
34 |
|
|
35 |
@Schema(description = "测点名称", required = true) |
|
36 |
private String pointName; |
|
37 |
|
|
38 |
@Schema(description = "测点类型", required = true) |
|
39 |
private String pointType; |
|
40 |
|
|
41 |
@DictFormat("point_type") |
|
42 |
private String pointTypeName; |
|
43 |
|
|
44 |
@Schema(description = "数据类型", required = true) |
|
45 |
private String dataType; |
|
46 |
|
|
47 |
@DictFormat("data_type") |
|
48 |
private String dataTypeName; |
|
49 |
|
|
50 |
@Schema(description = "存储类型", required = true) |
|
51 |
private String storeType; |
|
52 |
|
|
53 |
@Schema(description = "测量单位", required = true) |
|
54 |
private String unit; |
|
55 |
|
|
56 |
@Schema(description = "单位转换", required = true) |
|
57 |
private BigDecimal unittransfactor; |
|
58 |
|
|
59 |
@Schema(description = "默认值", required = true) |
|
60 |
private BigDecimal defaultValue; |
|
61 |
|
|
62 |
@Schema(description = "最大值") |
|
63 |
private BigDecimal maxValue; |
|
64 |
|
|
65 |
@Schema(description = "最小值") |
|
66 |
private BigDecimal minValue; |
|
67 |
|
|
68 |
@Schema(description = "采集频率", required = true) |
|
69 |
private String minfreqid; |
|
70 |
|
|
71 |
@Schema(description = "备注") |
|
72 |
private String remark; |
|
73 |
|
|
74 |
@Schema(description = "是否启用", required = true) |
|
75 |
private Integer isEnable; |
|
76 |
|
|
77 |
@Schema(description = "创建人") |
|
78 |
private Long creator; |
|
79 |
|
|
80 |
@Schema(description = "创建时间") |
|
81 |
private Date createTime; |
|
82 |
|
|
83 |
@Schema(description = "修改人") |
|
84 |
private Long updater; |
|
85 |
|
|
86 |
@Schema(description = "修改时间") |
|
87 |
private Date updateTime; |
|
88 |
|
|
89 |
@Schema(description = "数据源类型") |
|
90 |
private String sourceType; |
|
91 |
|
|
92 |
@Schema(description = "数据源名称") |
|
93 |
private String sourceName; |
|
94 |
|
|
95 |
@Schema(description = "数据源ID") |
|
96 |
private String sourceId; |
|
97 |
|
|
98 |
@Schema(description = "测点Tag", required = true) |
|
99 |
private String tagNo; |
|
100 |
|
01d6f8
|
101 |
@Schema(description = "平滑尺度") |
52487d
|
102 |
private Integer dimension; |
L |
103 |
|
01d6f8
|
104 |
@Schema(description = "值类型") |
潘 |
105 |
private String valueType; |
|
106 |
|
a6de49
|
107 |
@Schema(description = "计算公式", required = true) |
H |
108 |
private String expression; |
|
109 |
|
56dba6
|
110 |
@Schema(description = "瞬时测点") |
潘 |
111 |
private String momentPoint; |
|
112 |
|
|
113 |
@Schema(description = "累计长度") |
|
114 |
private Integer length; |
|
115 |
|
|
116 |
@Schema(description = "除数") |
|
117 |
private Integer divisor; |
|
118 |
|
a6de49
|
119 |
@Schema(description = "数据源选项") |
H |
120 |
private List<String> sourceOption; |
|
121 |
|
|
122 |
@Schema(description = "计算点") |
|
123 |
private DaMathPointDTO mathPoint; |
|
124 |
|
|
125 |
@Schema(description = "测量点") |
|
126 |
private DaMeasurePointDTO measurePoint; |
0ed8ac
|
127 |
|
潘 |
128 |
@Schema(description = "累计点") |
|
129 |
private DaCumulatePointDTO cumulatePoint; |
a6de49
|
130 |
} |