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;
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
|
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;
|
}
|
}
|