提交 | 用户 | 时间
|
aecc49
|
1 |
package com.iailab.module.data.channel.kio.vo; |
L |
2 |
|
|
3 |
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; |
|
4 |
import com.alibaba.excel.annotation.ExcelProperty; |
2f03e2
|
5 |
import com.fasterxml.jackson.annotation.JsonFormat; |
aecc49
|
6 |
import io.swagger.v3.oas.annotations.media.Schema; |
L |
7 |
import lombok.Data; |
|
8 |
|
|
9 |
import java.util.Date; |
|
10 |
|
|
11 |
/** |
|
12 |
* @author lirm |
|
13 |
* @Description |
|
14 |
* @createTime 2024年08月26日 |
|
15 |
*/ |
|
16 |
@Schema(description = "数据平台 - KioDevice Response VO") |
|
17 |
@Data |
|
18 |
@ExcelIgnoreUnannotated |
|
19 |
public class KioTagRespVO { |
|
20 |
|
|
21 |
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
22 |
@ExcelProperty("ID") |
|
23 |
private String id; |
|
24 |
|
|
25 |
@Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
26 |
@ExcelProperty("名称") |
|
27 |
private String tagName; |
|
28 |
|
|
29 |
@Schema(description = "数据类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
30 |
@ExcelProperty("数据类型") |
|
31 |
private String dataType; |
|
32 |
|
|
33 |
@Schema(description = "顺序号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
34 |
@ExcelProperty("顺序号") |
|
35 |
private Integer tagId; |
|
36 |
|
|
37 |
@Schema(description = "测点描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
38 |
@ExcelProperty("测点描述") |
|
39 |
private String tagDesc; |
|
40 |
|
e8ad66
|
41 |
@Schema(description = "是否启用", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
D |
42 |
@ExcelProperty("是否启用") |
aecc49
|
43 |
private Boolean enabled; |
L |
44 |
|
e8ad66
|
45 |
@Schema(description = "数据值", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
D |
46 |
@ExcelProperty("数据值") |
2f03e2
|
47 |
private Object dataValue; |
潘 |
48 |
|
|
49 |
@Schema(description = "数据质量", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
50 |
@ExcelProperty("数据质量") |
|
51 |
private String dataQuality; |
|
52 |
|
|
53 |
@Schema(description = "数据时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
54 |
@ExcelProperty("数据时间") |
|
55 |
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|
56 |
private Date dataTime; |
e8ad66
|
57 |
|
aecc49
|
58 |
@Schema(description = "关联设备", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
L |
59 |
@ExcelProperty("关联设备") |
|
60 |
private String device; |
|
61 |
|
|
62 |
@Schema(description = "采集频率", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
63 |
@ExcelProperty("采集频率") |
|
64 |
private Integer samplingRate; |
|
65 |
|
|
66 |
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
67 |
@ExcelProperty("创建时间") |
|
68 |
private Date createTime; |
|
69 |
|
|
70 |
@Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
71 |
@ExcelProperty("更新时间") |
|
72 |
private Date updateTime; |
|
73 |
} |