package com.qianwen.smartman.modules.smis.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.List;
|
|
@ApiModel("fms工位查询视图")
|
public class FmsWorkstationQueryVO {
|
@ApiModelProperty("类型 0机器 1人工")
|
List<Integer> typeList;
|
@ApiModelProperty("工种 0其他 1打标 2测量 3清洗 4装卸 5加工 6搬运 7三坐标")
|
List<Integer> deviceTypeList;
|
|
public void setTypeList(final List<Integer> typeList) {
|
this.typeList = typeList;
|
}
|
|
public void setDeviceTypeList(final List<Integer> deviceTypeList) {
|
this.deviceTypeList = deviceTypeList;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof FmsWorkstationQueryVO) {
|
FmsWorkstationQueryVO other = (FmsWorkstationQueryVO) o;
|
if (other.canEqual(this)) {
|
Object this$typeList = getTypeList();
|
Object other$typeList = other.getTypeList();
|
if (this$typeList == null) {
|
if (other$typeList != null) {
|
return false;
|
}
|
} else if (!this$typeList.equals(other$typeList)) {
|
return false;
|
}
|
Object this$deviceTypeList = getDeviceTypeList();
|
Object other$deviceTypeList = other.getDeviceTypeList();
|
return this$deviceTypeList == null ? other$deviceTypeList == null : this$deviceTypeList.equals(other$deviceTypeList);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof FmsWorkstationQueryVO;
|
}
|
|
public int hashCode() {
|
Object $typeList = getTypeList();
|
int result = (1 * 59) + ($typeList == null ? 43 : $typeList.hashCode());
|
Object $deviceTypeList = getDeviceTypeList();
|
return (result * 59) + ($deviceTypeList == null ? 43 : $deviceTypeList.hashCode());
|
}
|
|
public String toString() {
|
return "FmsWorkstationQueryVO(typeList=" + getTypeList() + ", deviceTypeList=" + getDeviceTypeList() + ")";
|
}
|
|
public List<Integer> getTypeList() {
|
return this.typeList;
|
}
|
|
public List<Integer> getDeviceTypeList() {
|
return this.deviceTypeList;
|
}
|
}
|