yangys
2024-03-27 e48aa2ac8dea1be5db11c63edf0b912c4ad5ce65
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
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;
    }
}