whycxzp
2021-11-02 7bae5d81e8cf185beebfa33d1b6816a46a9c2e93
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
package com.whyc.pojo;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.ToString;
import org.apache.ibatis.type.Alias;
 
import java.util.Date;
 
/**
 * 告警
 * 工作流,作为工作流的主表的信息补充,明细项
 */
@ToString
@Alias("WorkflowAlarm")
@TableName(schema = "web_site",value = "tb_workflow_alarm")
public class WorkflowAlarm {
 
    private Integer id;
    private Integer alarmNum;
    private Long alarmRecordId;
    private Integer stationId;
    private String stationName;
    private Integer battGroupId;
    private String battGroupName;
    private Integer deviceId;
    private Integer alarmLevel;
    private String alarmName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date alarmTime;
 
    private Date createTime;
 
    @TableField(exist = false)
    private Integer userId;
 
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public Integer getAlarmNum() {
        return alarmNum;
    }
 
    public void setAlarmNum(Integer alarmNum) {
        this.alarmNum = alarmNum;
    }
 
    public Long getAlarmRecordId() {
        return alarmRecordId;
    }
 
    public void setAlarmRecordId(Long alarmRecordId) {
        this.alarmRecordId = alarmRecordId;
    }
 
    public Integer getStationId() {
        return stationId;
    }
 
    public void setStationId(Integer stationId) {
        this.stationId = stationId;
    }
 
    public String getStationName() {
        return stationName;
    }
 
    public void setStationName(String stationName) {
        this.stationName = stationName;
    }
 
    public Integer getBattGroupId() {
        return battGroupId;
    }
 
    public void setBattGroupId(Integer battGroupId) {
        this.battGroupId = battGroupId;
    }
 
    public String getBattGroupName() {
        return battGroupName;
    }
 
    public void setBattGroupName(String battGroupName) {
        this.battGroupName = battGroupName;
    }
 
    public Integer getDeviceId() {
        return deviceId;
    }
 
    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }
 
    public Integer getAlarmLevel() {
        return alarmLevel;
    }
 
    public void setAlarmLevel(Integer alarmLevel) {
        this.alarmLevel = alarmLevel;
    }
 
    public String getAlarmName() {
        return alarmName;
    }
 
    public void setAlarmName(String alarmName) {
        this.alarmName = alarmName;
    }
 
    public Date getAlarmTime() {
        return alarmTime;
    }
 
    public void setAlarmTime(Date alarmTime) {
        this.alarmTime = alarmTime;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public Integer getUserId() {
        return userId;
    }
 
    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}