提交 | 用户 | 时间
|
7fd198
|
1 |
package com.iailab.module.model.mcs.pre.vo; |
潘 |
2 |
|
|
3 |
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; |
|
4 |
import com.alibaba.excel.annotation.ExcelProperty; |
|
5 |
import com.fasterxml.jackson.annotation.JsonFormat; |
|
6 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
7 |
import lombok.Data; |
|
8 |
|
|
9 |
import java.math.BigDecimal; |
|
10 |
import java.util.Date; |
|
11 |
|
|
12 |
/** |
|
13 |
* @author PanZhibao |
|
14 |
* @Description |
|
15 |
* @createTime 2024年08月29日 |
|
16 |
*/ |
|
17 |
@Schema(description = "模型平台 - ModBusDevice Response VO") |
|
18 |
@Data |
|
19 |
@ExcelIgnoreUnannotated |
|
20 |
public class DmModuleRespVO { |
|
21 |
|
|
22 |
@Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
23 |
@ExcelProperty("ID") |
|
24 |
private String id; |
|
25 |
|
|
26 |
@Schema(description = "名称") |
|
27 |
@ExcelProperty("名称") |
|
28 |
private String modulename; |
|
29 |
|
|
30 |
@Schema(description = "类型") |
|
31 |
@ExcelProperty("类型") |
|
32 |
private String moduletype; |
|
33 |
|
|
34 |
@Schema(description = "周期") |
|
35 |
@ExcelProperty("周期") |
|
36 |
private BigDecimal cycle; |
|
37 |
|
|
38 |
@Schema(description = "模块配置") |
|
39 |
@ExcelProperty("模块配置") |
|
40 |
private String modulenavconfig; |
|
41 |
|
|
42 |
@Schema(description = "预测时间") |
|
43 |
@ExcelProperty("预测时间") |
|
44 |
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") |
|
45 |
private Date predicttime; |
|
46 |
|
|
47 |
@Schema(description = "采集时间") |
|
48 |
@ExcelProperty("采集时间") |
|
49 |
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") |
|
50 |
private Date collecttime; |
|
51 |
|
|
52 |
@Schema(description = "创建时间") |
|
53 |
@ExcelProperty("创建时间") |
|
54 |
private Date createTime; |
|
55 |
|
|
56 |
@Schema(description = "更新时间") |
|
57 |
@ExcelProperty("更新时间") |
|
58 |
private Date updateTime; |
|
59 |
} |