public class Serialize<T> extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected List<T> |
list
结果集
|
protected long |
total
总记录数
|
| Modifier and Type | Method and Description |
|---|---|
List<T> |
getList() |
long |
getTotal() |
static <T> Serialize<T> |
of(List<T> list) |
void |
setList(List<T> list) |
void |
setTotal(long total) |
Copyright © 2021. All rights reserved.