allow long page size

This commit is contained in:
Timi
2025-12-08 16:36:41 +08:00
parent 8de5f416f8
commit f1aede1100

View File

@ -10,12 +10,12 @@ public class BasePage {
protected int index = 0; protected int index = 0;
/** 数据量 */ /** 数据量 */
protected int size = 16; protected long size = 16;
public BasePage() { public BasePage() {
} }
public BasePage(int index, int size) { public BasePage(int index, long size) {
this.index = index; this.index = index;
this.size = size; this.size = size;
} }
@ -36,11 +36,11 @@ public class BasePage {
this.index = index; this.index = index;
} }
public int getSize() { public long getSize() {
return size; return size;
} }
public void setSize(int size) { public void setSize(long size) {
this.size = size; this.size = size;
} }
} }