package com.qianwen.smartman.modules.smis.vo;
|
|
import io.swagger.annotations.ApiModel;
|
|
@ApiModel("fms工位")
|
public class FmsWorkstationVO extends WorkstationVO {
|
private Long parentId;
|
private String WorkTypeName;
|
|
public void setParentId(final Long parentId) {
|
this.parentId = parentId;
|
}
|
|
public void setWorkTypeName(final String WorkTypeName) {
|
this.WorkTypeName = WorkTypeName;
|
}
|
|
@Override // org.springblade.modules.cps.vo.WorkstationVO
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof FmsWorkstationVO) {
|
FmsWorkstationVO other = (FmsWorkstationVO) o;
|
if (other.canEqual(this)) {
|
Object this$parentId = getParentId();
|
Object other$parentId = other.getParentId();
|
if (this$parentId == null) {
|
if (other$parentId != null) {
|
return false;
|
}
|
} else if (!this$parentId.equals(other$parentId)) {
|
return false;
|
}
|
Object this$WorkTypeName = getWorkTypeName();
|
Object other$WorkTypeName = other.getWorkTypeName();
|
return this$WorkTypeName == null ? other$WorkTypeName == null : this$WorkTypeName.equals(other$WorkTypeName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
@Override // org.springblade.modules.cps.vo.WorkstationVO
|
protected boolean canEqual(final Object other) {
|
return other instanceof FmsWorkstationVO;
|
}
|
|
@Override // org.springblade.modules.cps.vo.WorkstationVO
|
public int hashCode() {
|
Object $parentId = getParentId();
|
int result = (1 * 59) + ($parentId == null ? 43 : $parentId.hashCode());
|
Object $WorkTypeName = getWorkTypeName();
|
return (result * 59) + ($WorkTypeName == null ? 43 : $WorkTypeName.hashCode());
|
}
|
|
@Override // org.springblade.modules.cps.vo.WorkstationVO
|
public String toString() {
|
return "FmsWorkstationVO(parentId=" + getParentId() + ", WorkTypeName=" + getWorkTypeName() + ")";
|
}
|
|
public Long getParentId() {
|
return this.parentId;
|
}
|
|
public String getWorkTypeName() {
|
return this.WorkTypeName;
|
}
|
}
|