org.zodiac.mybatisplus.support.Query Maven / Gradle / Ivy
package org.zodiac.mybatisplus.support;
public class Query {
/**
* 当前页
*/
private Integer current;
/**
* 每页的数量
*/
private Integer size;
/**
* 正排序规则
*/
private String ascs;
/**
* 倒排序规则
*/
private String descs;
public Query() {}
public Integer getCurrent() {
return current;
}
public Query setCurrent(Integer current) {
this.current = current;
return this;
}
public Integer getSize() {
return size;
}
public Query setSize(Integer size) {
this.size = size;
return this;
}
public String getAscs() {
return ascs;
}
public Query setAscs(String ascs) {
this.ascs = ascs;
return this;
}
public String getDescs() {
return descs;
}
public Query setDescs(String descs) {
this.descs = descs;
return this;
}
}