package com.ots.framework.web.page;
|
import java.io.Serializable;
|
import java.util.List;
|
|
public class TableDataInfo implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
private long total;
|
|
private List<?> rows;
|
|
private int code;
|
|
private int msg;
|
|
public TableDataInfo() {
|
}
|
|
public TableDataInfo(List<?> list, int total) {
|
this.rows = list;
|
this.total = total;
|
}
|
public long getTotal() {
|
return total;
|
}
|
public void setTotal(long total) {
|
this.total = total;
|
}
|
public List<?> getRows() {
|
return rows;
|
}
|
public void setRows(List<?> rows) {
|
this.rows = rows;
|
}
|
public int getCode() {
|
return code;
|
}
|
public void setCode(int code) {
|
this.code = code;
|
}
|
public int getMsg() {
|
return msg;
|
}
|
public void setMsg(int msg) {
|
this.msg = msg;
|
}
|
}
|