RAgentEvent.java
1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
package vion.model.monitor;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
/**
* 项目监测关联
*/
@Getter
@Setter
@TableName(value = "mr_agent_event")
public class RAgentEvent {
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* agent uid
*/
@TableField(value = "agent_uid")
private String agentUid;
/**
* 所属集团uid
*/
@TableField(value = "account_uid")
private String accountUid;
/**
* mall unid
*/
@TableField(value = "mall_uid")
private String mallUid;
/**
* 事件唯一ID
*/
@TableField(value = "event_uid")
private String eventUid;
/**
* 事件类型
*/
@TableField(value = "event_type")
private String eventType;
/**
* 监测时间
*/
@TableField(value = "cron")
private String cron;
/**
* 默认阈值,可为空
*/
@TableField(value = "threshold")
private String threshold;
/**
* 开关 0:关 1:开
*/
@TableField(value = "control_switch")
private Short controlSwitch;
/**
* 过期时间,为空则永不过期
*/
@TableField(value = "expire")
private LocalDate expire;
/**
* 事件建立者
*/
@TableField(value = "create_by")
private String createBy;
/**
* 事件更新者
*/
@TableField(value = "udpate_by")
private String udpateBy;
@TableField(value = "create_time", fill = FieldFill.INSERT)
private LocalDateTime createTime;
@TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
private LocalDateTime updateTime;
@TableField(exist = false)
private List<String> mallUidList;
}