yangys
2024-04-04 ed4a5236bab800094be4a8378f5098eebe3de6ac
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
package com.qianwen.smartman.modules.dnc.vo;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import com.qianwen.core.mp.support.Query;
import com.qianwen.smartman.modules.dnc.enums.BagProcessEnum;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/BagProcessQueryVO.class */
public class BagProcessQueryVO implements Serializable {
    private static final long serialVersionUID = -5736528708352557308L;
    @NotNull(message = "{bag.process.type}")
    @ApiModelProperty("查询type BAG_OR_PROCESS工艺包和程序文档 ONLY_BAG仅工艺包 ONLY_PROCESS仅程序文档")
    private BagProcessEnum type;
    @ApiModelProperty("查询关键字")
    private String keyword;
    @ApiModelProperty("分页条件")
    private Query query;
 
    public void setType(final BagProcessEnum type) {
        this.type = type;
    }
 
    public void setKeyword(final String keyword) {
        this.keyword = keyword;
    }
 
    public void setQuery(final Query query) {
        this.query = query;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof BagProcessQueryVO) {
            BagProcessQueryVO other = (BagProcessQueryVO) o;
            if (other.canEqual(this)) {
                Object this$type = getType();
                Object other$type = other.getType();
                if (this$type == null) {
                    if (other$type != null) {
                        return false;
                    }
                } else if (!this$type.equals(other$type)) {
                    return false;
                }
                Object this$keyword = getKeyword();
                Object other$keyword = other.getKeyword();
                if (this$keyword == null) {
                    if (other$keyword != null) {
                        return false;
                    }
                } else if (!this$keyword.equals(other$keyword)) {
                    return false;
                }
                Object this$query = getQuery();
                Object other$query = other.getQuery();
                return this$query == null ? other$query == null : this$query.equals(other$query);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof BagProcessQueryVO;
    }
 
    public int hashCode() {
        Object $type = getType();
        int result = (1 * 59) + ($type == null ? 43 : $type.hashCode());
        Object $keyword = getKeyword();
        int result2 = (result * 59) + ($keyword == null ? 43 : $keyword.hashCode());
        Object $query = getQuery();
        return (result2 * 59) + ($query == null ? 43 : $query.hashCode());
    }
 
    public String toString() {
        return "BagProcessQueryVO(type=" + getType() + ", keyword=" + getKeyword() + ", query=" + getQuery() + ")";
    }
 
    public BagProcessEnum getType() {
        return this.type;
    }
 
    public String getKeyword() {
        return this.keyword;
    }
 
    public Query getQuery() {
        return this.query;
    }
}