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;
|
}
|
}
|