public class TableResponse<T> extends ApiResponse
| 构造器和说明 |
|---|
TableResponse() |
TableResponse(ResponseCode code,
String message) |
| 限定符和类型 | 方法和说明 |
|---|---|
static TableResponse |
error(String message) |
List<T> |
getTable() |
Integer |
getTotal() |
static TableResponse |
ok() |
void |
setTable(List<T> table) |
void |
setTotal(Integer total) |
TableResponse |
table(List<T> table) |
TableResponse |
total(Integer total) |
getCode, getMessage, getRequestid, setCode, setMessage, setRequestidpublic TableResponse()
public TableResponse(ResponseCode code, String message)
public static TableResponse ok()
public TableResponse table(List<T> table)
public TableResponse total(Integer total)
public Integer getTotal()
public void setTotal(Integer total)
public static TableResponse error(String message)
Copyright © 2019. All rights reserved.