org.zodiac.mybatisplus.web.SwaggerQuery Maven / Gradle / Ivy
package org.zodiac.mybatisplus.web;
import org.zodiac.mybatisplus.support.Query;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ApiModel(description = "查询条件")
public class SwaggerQuery extends Query {
@ApiModelProperty(value = "当前页")
@Override
public Integer getCurrent() {
return super.getCurrent();
}
@ApiModelProperty(value = "每页的数量")
@Override
public Integer getSize() {
return super.getSize();
}
@ApiModelProperty(hidden = true)
@Override
public String getAscs() {
return super.getAscs();
}
@ApiModelProperty(hidden = true)
@Override
public String getDescs() {
return super.getDescs();
}
}