cn.vonce.sql.page.ResultData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vonce-sqlbean-core Show documentation
Show all versions of vonce-sqlbean-core Show documentation
This is the core project of Sqlbean.
The newest version!
package cn.vonce.sql.page;
import java.io.Serializable;
import java.util.List;
/**
* 用于返回分页数据结果集(Result Set)
*
* @author jovi
* @version 1.0
* @email [email protected]
* @date 2017年5月24日上午11:32:38
*/
public class ResultData implements Serializable {
private List data;
private Integer pagenum;
private Integer pagesize;
private Integer totalRecords;
private Integer totalPage;
private String timestamp;
public List getData() {
return data;
}
public void setData(List data) {
this.data = data;
}
public Integer getPagenum() {
return pagenum;
}
public void setPagenum(Integer pagenum) {
this.pagenum = pagenum;
}
public Integer getPagesize() {
return pagesize;
}
public void setPagesize(Integer pagesize) {
this.pagesize = pagesize;
}
public Integer getTotalRecords() {
return totalRecords;
}
public void setTotalRecords(Integer totalRecords) {
this.totalRecords = totalRecords;
}
public Integer getTotalPage() {
return totalPage;
}
public void setTotalPage(Integer totalPage) {
this.totalPage = totalPage;
}
public String getTimestamp() {
return timestamp;
}
public void setTimestamp(String timestamp) {
this.timestamp = timestamp;
}
@Override
public String toString() {
return "ResultData{" +
"data=" + data +
", pagenum=" + pagenum +
", pagesize=" + pagesize +
", totalRecords=" + totalRecords +
", totalPage=" + totalPage +
", timestamp='" + timestamp + '\'' +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy