package com.qianwen.smartman.modules.smis.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
public class DmpStatusVariableVO implements Serializable {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty(value = "工位ID", dataType = "java.lang.String")
|
private Long workstationId;
|
@ApiModelProperty("状态采集项key")
|
private String variableKey;
|
@ApiModelProperty("状态采集项值")
|
private String variableValue;
|
|
public void setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
public void setVariableKey(final String variableKey) {
|
this.variableKey = variableKey;
|
}
|
|
public void setVariableValue(final String variableValue) {
|
this.variableValue = variableValue;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof DmpStatusVariableVO) {
|
DmpStatusVariableVO other = (DmpStatusVariableVO) o;
|
if (other.canEqual(this)) {
|
Object this$workstationId = getWorkstationId();
|
Object other$workstationId = other.getWorkstationId();
|
if (this$workstationId == null) {
|
if (other$workstationId != null) {
|
return false;
|
}
|
} else if (!this$workstationId.equals(other$workstationId)) {
|
return false;
|
}
|
Object this$variableKey = getVariableKey();
|
Object other$variableKey = other.getVariableKey();
|
if (this$variableKey == null) {
|
if (other$variableKey != null) {
|
return false;
|
}
|
} else if (!this$variableKey.equals(other$variableKey)) {
|
return false;
|
}
|
Object this$variableValue = getVariableValue();
|
Object other$variableValue = other.getVariableValue();
|
return this$variableValue == null ? other$variableValue == null : this$variableValue.equals(other$variableValue);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof DmpStatusVariableVO;
|
}
|
|
public int hashCode() {
|
Object $workstationId = getWorkstationId();
|
int result = (1 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $variableKey = getVariableKey();
|
int result2 = (result * 59) + ($variableKey == null ? 43 : $variableKey.hashCode());
|
Object $variableValue = getVariableValue();
|
return (result2 * 59) + ($variableValue == null ? 43 : $variableValue.hashCode());
|
}
|
|
public String toString() {
|
return "DmpStatusVariableVO(workstationId=" + getWorkstationId() + ", variableKey=" + getVariableKey() + ", variableValue=" + getVariableValue() + ")";
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public String getVariableKey() {
|
return this.variableKey;
|
}
|
|
public String getVariableValue() {
|
return this.variableValue;
|
}
|
}
|