package com.qianwen.smartman.modules.mdc.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import com.qianwen.smartman.modules.mdc.enums.ProductivityTypeEnum;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/vo/StatisticsAnalysisQueryVO.class */
|
public class StatisticsAnalysisQueryVO extends StatisticsQueryVO {
|
private static final long serialVersionUID = 8887294568778572201L;
|
@ApiModelProperty("效率类型:RUNNING--运行率--1,ALARM--报警率--2,OEE--稼动率--3")
|
private ProductivityTypeEnum productivityType;
|
@ApiModelProperty("查询类型 0-柱状图 1-表格")
|
private Integer queryType;
|
|
@Override // org.springblade.modules.mdc.vo.StatisticsQueryVO
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof StatisticsAnalysisQueryVO) {
|
StatisticsAnalysisQueryVO other = (StatisticsAnalysisQueryVO) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
Object this$queryType = getQueryType();
|
Object other$queryType = other.getQueryType();
|
if (this$queryType == null) {
|
if (other$queryType != null) {
|
return false;
|
}
|
} else if (!this$queryType.equals(other$queryType)) {
|
return false;
|
}
|
Object this$productivityType = getProductivityType();
|
Object other$productivityType = other.getProductivityType();
|
return this$productivityType == null ? other$productivityType == null : this$productivityType.equals(other$productivityType);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
@Override // org.springblade.modules.mdc.vo.StatisticsQueryVO
|
protected boolean canEqual(final Object other) {
|
return other instanceof StatisticsAnalysisQueryVO;
|
}
|
|
@Override // org.springblade.modules.mdc.vo.StatisticsQueryVO
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $queryType = getQueryType();
|
int result2 = (result * 59) + ($queryType == null ? 43 : $queryType.hashCode());
|
Object $productivityType = getProductivityType();
|
return (result2 * 59) + ($productivityType == null ? 43 : $productivityType.hashCode());
|
}
|
|
public StatisticsAnalysisQueryVO setProductivityType(final ProductivityTypeEnum productivityType) {
|
this.productivityType = productivityType;
|
return this;
|
}
|
|
public StatisticsAnalysisQueryVO setQueryType(final Integer queryType) {
|
this.queryType = queryType;
|
return this;
|
}
|
|
@Override // org.springblade.modules.mdc.vo.StatisticsQueryVO
|
public String toString() {
|
return "StatisticsAnalysisQueryVO(productivityType=" + getProductivityType() + ", queryType=" + getQueryType() + ")";
|
}
|
|
public ProductivityTypeEnum getProductivityType() {
|
return this.productivityType;
|
}
|
|
public Integer getQueryType() {
|
return this.queryType;
|
}
|
}
|