package com.qianwen.mdc.collect.entity.iotdb;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
/**
|
* 告警信息
|
*/
|
public class Alarm {
|
private Long time;
|
private Long workstationId;
|
private String calendarCode;
|
private Integer factoryYear;
|
private Integer factoryMonth;
|
private Integer factoryWeek;
|
private Integer factoryDate;
|
private Integer shiftIndex;
|
private Integer shiftTimeType;
|
private String code;
|
private String message;
|
private String level;
|
|
|
public void setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
|
public void setCalendarCode(final String calendarCode) {
|
this.calendarCode = calendarCode;
|
}
|
|
public void setFactoryYear(final Integer factoryYear) {
|
this.factoryYear = factoryYear;
|
}
|
|
public void setFactoryMonth(final Integer factoryMonth) {
|
this.factoryMonth = factoryMonth;
|
}
|
|
public void setFactoryWeek(final Integer factoryWeek) {
|
this.factoryWeek = factoryWeek;
|
}
|
|
public void setFactoryDate(final Integer factoryDate) {
|
this.factoryDate = factoryDate;
|
}
|
|
public void setShiftIndex(final Integer shiftIndex) {
|
this.shiftIndex = shiftIndex;
|
}
|
|
public void setShiftTimeType(final Integer shiftTimeType) {
|
this.shiftTimeType = shiftTimeType;
|
}
|
|
|
public String toString() {
|
return ToStringBuilder.reflectionToString(this);
|
}
|
|
public Alarm() {
|
}
|
|
public Long getTime() {
|
return time;
|
}
|
public void setTime(Long time) {
|
this.time = time;
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
|
|
public String getCalendarCode() {
|
return this.calendarCode;
|
}
|
|
public Integer getFactoryYear() {
|
return this.factoryYear;
|
}
|
|
public Integer getFactoryMonth() {
|
return this.factoryMonth;
|
}
|
|
public Integer getFactoryWeek() {
|
return this.factoryWeek;
|
}
|
|
public Integer getFactoryDate() {
|
return this.factoryDate;
|
}
|
|
public Integer getShiftIndex() {
|
return this.shiftIndex;
|
}
|
|
public Integer getShiftTimeType() {
|
return this.shiftTimeType;
|
}
|
|
public String getCode() {
|
return code;
|
}
|
|
public void setCode(String code) {
|
this.code = code;
|
}
|
|
public String getMessage() {
|
return message;
|
}
|
|
public void setMessage(String message) {
|
this.message = message;
|
}
|
|
|
public String getLevel() {
|
return level;
|
}
|
|
|
public void setLevel(String level) {
|
this.level = level;
|
}
|
|
}
|