All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zodiac.mybatisplus.support.Query Maven / Gradle / Ivy

There is a newer version: 1.6.8
Show newest version
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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy