package com.qianwen.smartman.modules.smis.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
public class RealTimeStatusVO implements Serializable {
|
@ApiModelProperty("主键")
|
private String key;
|
@ApiModelProperty("最新值")
|
private String value;
|
@ApiModelProperty("单位")
|
private Integer unit;
|
@ApiModelProperty("名称")
|
private String name;
|
@ApiModelProperty("数据类型")
|
private Integer wcsDataType;
|
@ApiModelProperty("顺序")
|
private Integer sort;
|
@ApiModelProperty("大屏")
|
private Boolean bigScreen;
|
@ApiModelProperty("实时数据")
|
private Boolean realTimeData;
|
@ApiModelProperty("过程参数")
|
private Boolean processParameter;
|
|
|
public static class RealTimeStatusVOBuilder {
|
private String key;
|
private String value;
|
private Integer unit;
|
private String name;
|
private Integer wcsDataType;
|
private Integer sort;
|
private Boolean bigScreen;
|
private Boolean realTimeData;
|
private Boolean processParameter;
|
|
RealTimeStatusVOBuilder() {
|
}
|
|
public RealTimeStatusVOBuilder key(final String key) {
|
this.key = key;
|
return this;
|
}
|
|
public RealTimeStatusVOBuilder value(final String value) {
|
this.value = value;
|
return this;
|
}
|
|
public RealTimeStatusVOBuilder unit(final Integer unit) {
|
this.unit = unit;
|
return this;
|
}
|
|
public RealTimeStatusVOBuilder name(final String name) {
|
this.name = name;
|
return this;
|
}
|
|
public RealTimeStatusVOBuilder wcsDataType(final Integer wcsDataType) {
|
this.wcsDataType = wcsDataType;
|
return this;
|
}
|
|
public RealTimeStatusVOBuilder sort(final Integer sort) {
|
this.sort = sort;
|
return this;
|
}
|
|
public RealTimeStatusVOBuilder bigScreen(final Boolean bigScreen) {
|
this.bigScreen = bigScreen;
|
return this;
|
}
|
|
public RealTimeStatusVOBuilder realTimeData(final Boolean realTimeData) {
|
this.realTimeData = realTimeData;
|
return this;
|
}
|
|
public RealTimeStatusVOBuilder processParameter(final Boolean processParameter) {
|
this.processParameter = processParameter;
|
return this;
|
}
|
|
public RealTimeStatusVO build() {
|
return new RealTimeStatusVO(this.key, this.value, this.unit, this.name, this.wcsDataType, this.sort, this.bigScreen, this.realTimeData, this.processParameter);
|
}
|
|
public String toString() {
|
return "RealTimeStatusVO.RealTimeStatusVOBuilder(key=" + this.key + ", value=" + this.value + ", unit=" + this.unit + ", name=" + this.name + ", wcsDataType=" + this.wcsDataType + ", sort=" + this.sort + ", bigScreen=" + this.bigScreen + ", realTimeData=" + this.realTimeData + ", processParameter=" + this.processParameter + ")";
|
}
|
}
|
|
public void setKey(final String key) {
|
this.key = key;
|
}
|
|
public void setValue(final String value) {
|
this.value = value;
|
}
|
|
public void setUnit(final Integer unit) {
|
this.unit = unit;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setWcsDataType(final Integer wcsDataType) {
|
this.wcsDataType = wcsDataType;
|
}
|
|
public void setSort(final Integer sort) {
|
this.sort = sort;
|
}
|
|
public void setBigScreen(final Boolean bigScreen) {
|
this.bigScreen = bigScreen;
|
}
|
|
public void setRealTimeData(final Boolean realTimeData) {
|
this.realTimeData = realTimeData;
|
}
|
|
public void setProcessParameter(final Boolean processParameter) {
|
this.processParameter = processParameter;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof RealTimeStatusVO) {
|
RealTimeStatusVO other = (RealTimeStatusVO) o;
|
if (other.canEqual(this)) {
|
Object this$unit = getUnit();
|
Object other$unit = other.getUnit();
|
if (this$unit == null) {
|
if (other$unit != null) {
|
return false;
|
}
|
} else if (!this$unit.equals(other$unit)) {
|
return false;
|
}
|
Object this$wcsDataType = getWcsDataType();
|
Object other$wcsDataType = other.getWcsDataType();
|
if (this$wcsDataType == null) {
|
if (other$wcsDataType != null) {
|
return false;
|
}
|
} else if (!this$wcsDataType.equals(other$wcsDataType)) {
|
return false;
|
}
|
Object this$sort = getSort();
|
Object other$sort = other.getSort();
|
if (this$sort == null) {
|
if (other$sort != null) {
|
return false;
|
}
|
} else if (!this$sort.equals(other$sort)) {
|
return false;
|
}
|
Object this$bigScreen = getBigScreen();
|
Object other$bigScreen = other.getBigScreen();
|
if (this$bigScreen == null) {
|
if (other$bigScreen != null) {
|
return false;
|
}
|
} else if (!this$bigScreen.equals(other$bigScreen)) {
|
return false;
|
}
|
Object this$realTimeData = getRealTimeData();
|
Object other$realTimeData = other.getRealTimeData();
|
if (this$realTimeData == null) {
|
if (other$realTimeData != null) {
|
return false;
|
}
|
} else if (!this$realTimeData.equals(other$realTimeData)) {
|
return false;
|
}
|
Object this$processParameter = getProcessParameter();
|
Object other$processParameter = other.getProcessParameter();
|
if (this$processParameter == null) {
|
if (other$processParameter != null) {
|
return false;
|
}
|
} else if (!this$processParameter.equals(other$processParameter)) {
|
return false;
|
}
|
Object this$key = getKey();
|
Object other$key = other.getKey();
|
if (this$key == null) {
|
if (other$key != null) {
|
return false;
|
}
|
} else if (!this$key.equals(other$key)) {
|
return false;
|
}
|
Object this$value = getValue();
|
Object other$value = other.getValue();
|
if (this$value == null) {
|
if (other$value != null) {
|
return false;
|
}
|
} else if (!this$value.equals(other$value)) {
|
return false;
|
}
|
Object this$name = getName();
|
Object other$name = other.getName();
|
return this$name == null ? other$name == null : this$name.equals(other$name);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof RealTimeStatusVO;
|
}
|
|
public int hashCode() {
|
Object $unit = getUnit();
|
int result = (1 * 59) + ($unit == null ? 43 : $unit.hashCode());
|
Object $wcsDataType = getWcsDataType();
|
int result2 = (result * 59) + ($wcsDataType == null ? 43 : $wcsDataType.hashCode());
|
Object $sort = getSort();
|
int result3 = (result2 * 59) + ($sort == null ? 43 : $sort.hashCode());
|
Object $bigScreen = getBigScreen();
|
int result4 = (result3 * 59) + ($bigScreen == null ? 43 : $bigScreen.hashCode());
|
Object $realTimeData = getRealTimeData();
|
int result5 = (result4 * 59) + ($realTimeData == null ? 43 : $realTimeData.hashCode());
|
Object $processParameter = getProcessParameter();
|
int result6 = (result5 * 59) + ($processParameter == null ? 43 : $processParameter.hashCode());
|
Object $key = getKey();
|
int result7 = (result6 * 59) + ($key == null ? 43 : $key.hashCode());
|
Object $value = getValue();
|
int result8 = (result7 * 59) + ($value == null ? 43 : $value.hashCode());
|
Object $name = getName();
|
return (result8 * 59) + ($name == null ? 43 : $name.hashCode());
|
}
|
|
public String toString() {
|
return "RealTimeStatusVO(key=" + getKey() + ", value=" + getValue() + ", unit=" + getUnit() + ", name=" + getName() + ", wcsDataType=" + getWcsDataType() + ", sort=" + getSort() + ", bigScreen=" + getBigScreen() + ", realTimeData=" + getRealTimeData() + ", processParameter=" + getProcessParameter() + ")";
|
}
|
|
public static RealTimeStatusVOBuilder builder() {
|
return new RealTimeStatusVOBuilder();
|
}
|
|
public RealTimeStatusVO(final String key, final String value, final Integer unit, final String name, final Integer wcsDataType, final Integer sort, final Boolean bigScreen, final Boolean realTimeData, final Boolean processParameter) {
|
this.key = key;
|
this.value = value;
|
this.unit = unit;
|
this.name = name;
|
this.wcsDataType = wcsDataType;
|
this.sort = sort;
|
this.bigScreen = bigScreen;
|
this.realTimeData = realTimeData;
|
this.processParameter = processParameter;
|
}
|
|
public RealTimeStatusVO() {
|
}
|
|
public String getKey() {
|
return this.key;
|
}
|
|
public String getValue() {
|
return this.value;
|
}
|
|
public Integer getUnit() {
|
return this.unit;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public Integer getWcsDataType() {
|
return this.wcsDataType;
|
}
|
|
public Integer getSort() {
|
return this.sort;
|
}
|
|
public Boolean getBigScreen() {
|
return this.bigScreen;
|
}
|
|
public Boolean getRealTimeData() {
|
return this.realTimeData;
|
}
|
|
public Boolean getProcessParameter() {
|
return this.processParameter;
|
}
|
}
|