package com.qianwen.smartman.modules.cps.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.List;
|
import com.qianwen.smartman.modules.cps.entity.CommonGroup;
|
|
@ApiModel("fms工位组视图")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/FmsWorkstationGroupVO.class */
|
public class FmsWorkstationGroupVO extends CommonGroup {
|
private List<FmsWorkstationGroupVO> children;
|
@ApiModelProperty("工位设备类型")
|
private Integer deviceType;
|
@ApiModelProperty("工位设备类型名称")
|
private String deviceTypeName;
|
@ApiModelProperty("是否是工位")
|
private Boolean disabled = true;
|
|
public void setChildren(final List<FmsWorkstationGroupVO> children) {
|
this.children = children;
|
}
|
|
public void setDeviceType(final Integer deviceType) {
|
this.deviceType = deviceType;
|
}
|
|
public void setDeviceTypeName(final String deviceTypeName) {
|
this.deviceTypeName = deviceTypeName;
|
}
|
|
public void setDisabled(final Boolean disabled) {
|
this.disabled = disabled;
|
}
|
|
@Override // org.springblade.modules.cps.entity.CommonGroup
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof FmsWorkstationGroupVO) {
|
FmsWorkstationGroupVO other = (FmsWorkstationGroupVO) o;
|
if (other.canEqual(this)) {
|
Object this$deviceType = getDeviceType();
|
Object other$deviceType = other.getDeviceType();
|
if (this$deviceType == null) {
|
if (other$deviceType != null) {
|
return false;
|
}
|
} else if (!this$deviceType.equals(other$deviceType)) {
|
return false;
|
}
|
Object this$disabled = getDisabled();
|
Object other$disabled = other.getDisabled();
|
if (this$disabled == null) {
|
if (other$disabled != null) {
|
return false;
|
}
|
} else if (!this$disabled.equals(other$disabled)) {
|
return false;
|
}
|
Object this$children = getChildren();
|
Object other$children = other.getChildren();
|
if (this$children == null) {
|
if (other$children != null) {
|
return false;
|
}
|
} else if (!this$children.equals(other$children)) {
|
return false;
|
}
|
Object this$deviceTypeName = getDeviceTypeName();
|
Object other$deviceTypeName = other.getDeviceTypeName();
|
return this$deviceTypeName == null ? other$deviceTypeName == null : this$deviceTypeName.equals(other$deviceTypeName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
@Override // org.springblade.modules.cps.entity.CommonGroup
|
protected boolean canEqual(final Object other) {
|
return other instanceof FmsWorkstationGroupVO;
|
}
|
|
@Override // org.springblade.modules.cps.entity.CommonGroup
|
public int hashCode() {
|
Object $deviceType = getDeviceType();
|
int result = (1 * 59) + ($deviceType == null ? 43 : $deviceType.hashCode());
|
Object $disabled = getDisabled();
|
int result2 = (result * 59) + ($disabled == null ? 43 : $disabled.hashCode());
|
Object $children = getChildren();
|
int result3 = (result2 * 59) + ($children == null ? 43 : $children.hashCode());
|
Object $deviceTypeName = getDeviceTypeName();
|
return (result3 * 59) + ($deviceTypeName == null ? 43 : $deviceTypeName.hashCode());
|
}
|
|
@Override // org.springblade.modules.cps.entity.CommonGroup
|
public String toString() {
|
return "FmsWorkstationGroupVO(children=" + getChildren() + ", deviceType=" + getDeviceType() + ", deviceTypeName=" + getDeviceTypeName() + ", disabled=" + getDisabled() + ")";
|
}
|
|
public List<FmsWorkstationGroupVO> getChildren() {
|
return this.children;
|
}
|
|
public Integer getDeviceType() {
|
return this.deviceType;
|
}
|
|
public String getDeviceTypeName() {
|
return this.deviceTypeName;
|
}
|
|
public Boolean getDisabled() {
|
return this.disabled;
|
}
|
}
|