郑永安
2023-09-19 69185134fcfaf913ea45f1255677225a2cc311a4
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
package com.gk.hotwork.Domain;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
 
import java.util.Date;
 
@TableName("warning")
public class WarningInfo {
    //预警
    public static Byte EARLY_WARNING = 2;
    //报警
    public static Byte WARNING = 3;
    //故障
    public static Byte FAULT   = 1;
 
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
 
    @TableId(type = IdType.AUTO)
    private Long id;
 
    /** 告警类型(1.故障;2.预警;3.报警)  type **/
    private Byte type;
 
    /** 告警内容  content **/
    private String content;
 
    /** 告警发生时间  createdat **/
    private Date createdat;
 
    /** 告警对应任务编号  taskcode **/
    private String taskcode;
 
    /** 告警对应动火人  worker **/
    private String worker;
 
    /** 是否处理(0.否;1.是)  isdeal **/
    private Byte isdeal;
 
    /** 处理时间  dealat **/
    private Date dealat;
 
    /** 处理人  dealby **/
    private String dealby;
 
    /** 标记  flag **/
    private Byte flag;
 
    /** 是否发送短信  issms **/
    private Byte issms;
 
    private Byte tasktype;
 
    /**     id   **/
    public Long getId() {
        return id;
    }
 
    /**     id   **/
    public void setId(Long id) {
        this.id = id;
    }
 
    /**   告警类型(1.故障;2.预警;3.报警)  type   **/
    public Byte getType() {
        return type;
    }
 
    public void setType(Byte type) {
        this.type = type;
    }
 
    /**   告警内容  content   **/
    public String getContent() {
        return content;
    }
 
    /**   告警内容  content   **/
    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
 
    /**   告警发生时间  createdat   **/
    public Date getCreatedat() {
        return createdat;
    }
 
    /**   告警发生时间  createdat   **/
    public void setCreatedat(Date createdat) {
        this.createdat = createdat;
    }
 
    /**   告警对应任务编号  taskcode   **/
    public String getTaskcode() {
        return taskcode;
    }
 
    /**   告警对应任务编号  taskcode   **/
    public void setTaskcode(String taskcode) {
        this.taskcode = taskcode == null ? null : taskcode.trim();
    }
 
    public String getWorker() {
        return worker;
    }
 
    public void setWorker(String worker) {
        this.worker = worker;
    }
 
    /**   是否处理(0.否;1.是)  isdeal   **/
    public Byte getIsdeal() {
        return isdeal;
    }
 
    /**   是否处理(0.否;1.是)  isdeal   **/
    public void setIsdeal(Byte isdeal) {
        this.isdeal = isdeal;
    }
 
    /**   处理时间  dealat   **/
    public Date getDealat() {
        return dealat;
    }
 
    /**   处理时间  dealat   **/
    public void setDealat(Date dealat) {
        this.dealat = dealat;
    }
 
    /**   处理人  dealby   **/
    public String getDealby() {
        return dealby;
    }
 
    /**   处理人  dealby   **/
    public void setDealby(String dealby) {
        this.dealby = dealby == null ? null : dealby.trim();
    }
 
    /**   标记  flag   **/
    public Byte getFlag() {
        return flag;
    }
 
    /**   标记  flag   **/
    public void setFlag(Byte flag) {
        this.flag = flag;
    }
 
    /**   是否发送短信  issms   **/
    public Byte getIssms() {
        return issms;
    }
 
    /**   是否发送短信  issms   **/
    public void setIssms(Byte issms) {
        this.issms = issms;
    }
 
    public Byte getTasktype() {
        return tasktype;
    }
 
    public void setTasktype(Byte tasktype) {
        this.tasktype = tasktype;
    }
}