提交 | 用户 | 时间
|
7fd198
|
1 |
package com.iailab.module.model.api.mcs.dto; |
潘 |
2 |
|
|
3 |
/** |
|
4 |
* @author PanZhibao |
|
5 |
* @Description |
|
6 |
* @createTime 2024年08月29日 |
|
7 |
*/ |
|
8 |
|
b368e6
|
9 |
import com.fasterxml.jackson.annotation.JsonFormat; |
7fd198
|
10 |
import io.swagger.v3.oas.annotations.media.Schema; |
潘 |
11 |
import lombok.Data; |
|
12 |
|
|
13 |
import java.io.Serializable; |
|
14 |
import java.math.BigDecimal; |
|
15 |
import java.util.Date; |
|
16 |
|
|
17 |
/** |
|
18 |
* @author PanZhibao |
|
19 |
* @Description |
|
20 |
* @createTime 2024年08月29日 |
|
21 |
*/ |
|
22 |
@Schema(description = "RPC 模型 - 预警消息 DTO") |
|
23 |
@Data |
c860df
|
24 |
public class AlarmMessageRespDTO implements Serializable { |
7fd198
|
25 |
|
潘 |
26 |
private static final long serialVersionUID = 1L; |
|
27 |
|
|
28 |
@Schema(description = "ID") |
|
29 |
private String id; |
|
30 |
|
70ff89
|
31 |
@Schema(description = "配置ID") |
L |
32 |
private String configId; |
|
33 |
|
7fd198
|
34 |
@Schema(description = "消息标题") |
潘 |
35 |
private String title; |
|
36 |
|
|
37 |
@Schema(description = "消息内容") |
|
38 |
private String content; |
|
39 |
|
|
40 |
@Schema(description = "监控对象") |
|
41 |
private String alarmObj; |
|
42 |
|
|
43 |
@Schema(description = "监控点位ID") |
|
44 |
private String pointId; |
|
45 |
|
|
46 |
@Schema(description = "预测项ID") |
|
47 |
private String itemId; |
|
48 |
|
|
49 |
@Schema(description = "当前值") |
|
50 |
private BigDecimal currentValue; |
|
51 |
|
|
52 |
@Schema(description = "超出时间") |
b368e6
|
53 |
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
7fd198
|
54 |
private Date outTime; |
潘 |
55 |
|
|
56 |
@Schema(description = "超出值") |
|
57 |
private BigDecimal outValue; |
|
58 |
|
|
59 |
@Schema(description = "预警类型") |
|
60 |
private String alarmType; |
|
61 |
|
|
62 |
@Schema(description = "预警时间") |
b368e6
|
63 |
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
7fd198
|
64 |
private Date alarmTime; |
潘 |
65 |
|
70ff89
|
66 |
@Schema(description = "创建时间") |
L |
67 |
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|
68 |
private Date createTime; |
|
69 |
|
7fd198
|
70 |
} |