yangys
2024-04-04 2cf2921440e7473ae50796c2cb688f609b3a7995
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
package com.qianwen.core.mp.support;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
 
@ApiModel(description = "查询条件")
/* loaded from: blade-starter-mybatis-9.3.0.0-SNAPSHOT.jar:org/springblade/core/mp/support/Query.class */
public class Query {
    @ApiModelProperty("当前页")
    private Integer current;
    @ApiModelProperty("每页的数量")
    private Integer size;
    @ApiModelProperty(hidden = true)
    private String ascs;
    @ApiModelProperty(hidden = true)
    private String descs;
 
    public Query setCurrent(final Integer current) {
        this.current = current;
        return this;
    }
 
    public Query setSize(final Integer size) {
        this.size = size;
        return this;
    }
 
    public Query setAscs(final String ascs) {
        this.ascs = ascs;
        return this;
    }
 
    public Query setDescs(final String descs) {
        this.descs = descs;
        return this;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof Query) {
            Query other = (Query) o;
            if (other.canEqual(this)) {
                Object this$current = getCurrent();
                Object other$current = other.getCurrent();
                if (this$current == null) {
                    if (other$current != null) {
                        return false;
                    }
                } else if (!this$current.equals(other$current)) {
                    return false;
                }
                Object this$size = getSize();
                Object other$size = other.getSize();
                if (this$size == null) {
                    if (other$size != null) {
                        return false;
                    }
                } else if (!this$size.equals(other$size)) {
                    return false;
                }
                Object this$ascs = getAscs();
                Object other$ascs = other.getAscs();
                if (this$ascs == null) {
                    if (other$ascs != null) {
                        return false;
                    }
                } else if (!this$ascs.equals(other$ascs)) {
                    return false;
                }
                Object this$descs = getDescs();
                Object other$descs = other.getDescs();
                return this$descs == null ? other$descs == null : this$descs.equals(other$descs);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof Query;
    }
 
    public int hashCode() {
        Object $current = getCurrent();
        int result = (1 * 59) + ($current == null ? 43 : $current.hashCode());
        Object $size = getSize();
        int result2 = (result * 59) + ($size == null ? 43 : $size.hashCode());
        Object $ascs = getAscs();
        int result3 = (result2 * 59) + ($ascs == null ? 43 : $ascs.hashCode());
        Object $descs = getDescs();
        return (result3 * 59) + ($descs == null ? 43 : $descs.hashCode());
    }
 
    public String toString() {
        return "Query(current=" + getCurrent() + ", size=" + getSize() + ", ascs=" + getAscs() + ", descs=" + getDescs() + ")";
    }
 
    public Integer getCurrent() {
        return this.current;
    }
 
    public Integer getSize() {
        return this.size;
    }
 
    public String getAscs() {
        return this.ascs;
    }
 
    public String getDescs() {
        return this.descs;
    }
}