Compare commits
3 Commits
12bbc62ef0
...
f1aede1100
| Author | SHA1 | Date | |
|---|---|---|---|
| f1aede1100 | |||
| 8de5f416f8 | |||
| bde63864b1 |
@ -12,6 +12,8 @@ import java.util.Map;
|
|||||||
*/
|
*/
|
||||||
public interface TimiJava {
|
public interface TimiJava {
|
||||||
|
|
||||||
|
String ZERO_UUID = "00000000-0000-0000-0000-000000000000";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通用判空
|
* 通用判空
|
||||||
* <pre>
|
* <pre>
|
||||||
|
|||||||
@ -10,15 +10,12 @@ public class BasePage {
|
|||||||
protected int index = 0;
|
protected int index = 0;
|
||||||
|
|
||||||
/** 数据量 */
|
/** 数据量 */
|
||||||
protected int size = 16;
|
protected long size = 16;
|
||||||
|
|
||||||
/** 关键字 */
|
|
||||||
protected String keyword;
|
|
||||||
|
|
||||||
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;
|
||||||
}
|
}
|
||||||
@ -39,19 +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;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getKeyword() {
|
|
||||||
return keyword;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setKeyword(String keyword) {
|
|
||||||
this.keyword = keyword;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user