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;
|
}
|
}
|