package com.qianwen.smartman.modules.cps.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
public class WorkstationSingleVO implements Serializable {
|
@ApiModelProperty("工位id")
|
private Long workstationId;
|
@ApiModelProperty("工位编码")
|
private String workstationCode;
|
@ApiModelProperty("工位名称")
|
private String workstationName;
|
|
public void setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
public void setWorkstationCode(final String workstationCode) {
|
this.workstationCode = workstationCode;
|
}
|
|
public void setWorkstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WorkstationSingleVO) {
|
WorkstationSingleVO other = (WorkstationSingleVO) 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$workstationCode = getWorkstationCode();
|
Object other$workstationCode = other.getWorkstationCode();
|
if (this$workstationCode == null) {
|
if (other$workstationCode != null) {
|
return false;
|
}
|
} else if (!this$workstationCode.equals(other$workstationCode)) {
|
return false;
|
}
|
Object this$workstationName = getWorkstationName();
|
Object other$workstationName = other.getWorkstationName();
|
return this$workstationName == null ? other$workstationName == null : this$workstationName.equals(other$workstationName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WorkstationSingleVO;
|
}
|
|
public int hashCode() {
|
Object $workstationId = getWorkstationId();
|
int result = (1 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $workstationCode = getWorkstationCode();
|
int result2 = (result * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
|
Object $workstationName = getWorkstationName();
|
return (result2 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
|
}
|
|
public String toString() {
|
return "WorkstationSingleVO(workstationId=" + getWorkstationId() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ")";
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public String getWorkstationCode() {
|
return this.workstationCode;
|
}
|
|
public String getWorkstationName() {
|
return this.workstationName;
|
}
|
}
|