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

top.lingkang.finalsql.sql.PageInfo Maven / Gradle / Ivy

The newest version!
package top.lingkang.finalsql.sql;

import java.io.Serializable;

/**
 * @author lingkang
 * Created by 2022/5/22
 */
public class PageInfo implements Serializable {
    private boolean isStart=true;
    private Integer total;
    private Integer page;
    private Integer size;

    public PageInfo() {
    }

    public PageInfo(Integer page, Integer size) {
        this.page = page;
        this.size = size;
    }

    public boolean isStart() {
        return isStart;
    }

    public void setStart(boolean start) {
        isStart = start;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    @Override
    public String toString() {
        return "PageInfo{" +
                "total=" + total +
                ", page=" + page +
                ", size=" + size +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy