Pu Zhibing
2024-12-24 4f7001861e00926e5187c1dd8ee3a5df2ec1ea59
提交1.0版本
1个文件已修改
20 ■■■■■ 已修改文件
guns-core/src/main/java/com/stylefeng/guns/core/page/PageInfoBT.java 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
guns-core/src/main/java/com/stylefeng/guns/core/page/PageInfoBT.java
@@ -17,6 +17,10 @@
    // 总数
    private long total;
    private int size;
    private int current;
    public PageInfoBT(Page<T> page) {
        this.rows = page.getRecords();
@@ -38,4 +42,20 @@
    public void setTotal(long total) {
        this.total = total;
    }
    public int getSize() {
        return size;
    }
    public void setSize(int size) {
        this.size = size;
    }
    public int getCurrent() {
        return current;
    }
    public void setCurrent(int current) {
        this.current = current;
    }
}