EventVO.java
1.71 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
package vion.vo.monitor;
import lombok.Getter;
import lombok.Setter;
import vion.model.monitor.EventRecord;
import java.time.LocalDate;
import java.time.LocalDateTime;
/**
 * 监测事件
 */
@Getter
@Setter
public class EventVO {
    private Long id;
    /**
     * 类型 0:store+mall 1:store,2:mall
     */
    private Short type;
    /**
     * 唯一标识
     */
    private String uid;
    /**
     * 事件名称
     */
    private String name;
    /**
     * 事件类型
     */
    private String eventType;
    /**
     * 类别 设备类1 客流数据类2 聚类精度类3 其他4
     */
    private Short source;
    /**
     * 监测时间
     */
    private String cron;
    /**
     * 时区
     */
    private String timeZone;
    /**
     * 时区偏移后的Cron表达式
     */
    private String offsetCron;
    /**
     * 默认阈值,可为空
     */
    private String threshold;
    /**
     * 对比周期
     */
    private String contrastPeriod;
    /**
     * 规则
     */
    private Object rule;
    /**
     * 描述
     */
    private String description;
    /**
     * 备注
     */
    private String remark;
    /**
     * 创建人
     */
    private String createBy;
    /**
     * 修改人
     */
    private String updateBy;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    /**
     * account 信息
     */
    private String accountUid;
    private String accountName;
    /**
     * mall 信息
     */
    private String mallUid;
    private String mallName;
    /**
     * 开关 0:关 1:开
     */
    private Short controlSwitch;
    /**
     * 过期日期
     */
    private LocalDate expire;
    private EventRecord eventRecord;
}