Compare commits

..

3 Commits

Author SHA1 Message Date
f1aede1100 allow long page size 2025-12-08 16:36:41 +08:00
8de5f416f8 add TimiJava.ZERO_UUID 2025-12-02 14:55:58 +08:00
bde63864b1 remove BasePage.keyword 2025-12-02 14:55:44 +08:00
2 changed files with 6 additions and 15 deletions

View File

@ -12,6 +12,8 @@ import java.util.Map;
*/
public interface TimiJava {
String ZERO_UUID = "00000000-0000-0000-0000-000000000000";
/**
* 通用判空
* <pre>

View File

@ -10,15 +10,12 @@ public class BasePage {
protected int index = 0;
/** 数据量 */
protected int size = 16;
/** 关键字 */
protected String keyword;
protected long size = 16;
public BasePage() {
}
public BasePage(int index, int size) {
public BasePage(int index, long size) {
this.index = index;
this.size = size;
}
@ -39,19 +36,11 @@ public class BasePage {
this.index = index;
}
public int getSize() {
public long getSize() {
return size;
}
public void setSize(int size) {
public void setSize(long size) {
this.size = size;
}
public String getKeyword() {
return keyword;
}
public void setKeyword(String keyword) {
this.keyword = keyword;
}
}