From 4f7001861e00926e5187c1dd8ee3a5df2ec1ea59 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期二, 24 十二月 2024 19:05:27 +0800 Subject: [PATCH] 提交1.0版本 --- guns-core/src/main/java/com/stylefeng/guns/core/page/PageInfoBT.java | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/guns-core/src/main/java/com/stylefeng/guns/core/page/PageInfoBT.java b/guns-core/src/main/java/com/stylefeng/guns/core/page/PageInfoBT.java index 6230e13..7e79e05 100644 --- a/guns-core/src/main/java/com/stylefeng/guns/core/page/PageInfoBT.java +++ b/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; + } } -- Gitblit v1.7.1