guns-core/src/main/java/com/stylefeng/guns/core/page/PageInfoBT.java | ●●●●● 补丁 | 查看 | 原始文档 | 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; } }