提交 | 用户 | 时间
|
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 io.swagger.v3.oas.annotations.media.Schema; |
|
6 |
import io.swagger.v3.oas.annotations.tags.Tag; |
|
7 |
import lombok.Data; |
|
8 |
|
|
9 |
import javax.validation.constraints.NotNull; |
|
10 |
import javax.validation.constraints.Null; |
|
11 |
import java.io.Serializable; |
|
12 |
|
|
13 |
/** |
|
14 |
* @author PanZhibao |
|
15 |
* @Description |
|
16 |
* @createTime 2024年05月11日 |
|
17 |
*/ |
|
18 |
@Data |
|
19 |
@Tag(name = "测量点表") |
|
20 |
public class DaMeasurePointDTO implements Serializable { |
|
21 |
private static final long serialVersionUID = 1L; |
|
22 |
|
|
23 |
@Schema(description = "id") |
|
24 |
@Null(message="{id.null}", groups = AddGroup.class) |
|
25 |
@NotNull(message="{id.require}", groups = UpdateGroup.class) |
|
26 |
private String id; |
|
27 |
|
|
28 |
@Schema(description = "测点ID", required = true) |
|
29 |
private String pointId; |
|
30 |
|
|
31 |
@Schema(description = "数据源类型", required = true) |
|
32 |
private String sourceType; |
|
33 |
|
|
34 |
@Schema(description = "数据源ID", required = true) |
|
35 |
private String sourceId; |
|
36 |
|
|
37 |
@Schema(description = "测点Tag", required = true) |
|
38 |
private String tagNo; |
|
39 |
|
|
40 |
@Schema(description = "平滑尺度") |
6d7e4d
|
41 |
private Integer dimension; |
L |
42 |
|
|
43 |
@Schema(description = "值类型") |
|
44 |
private String valueType; |
a6de49
|
45 |
} |