com.quhaodian.data.rest.domain.AbstractPageVo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of discover-hibernate-common Show documentation
Show all versions of discover-hibernate-common Show documentation
discover-hibernate_common is a lib for hibernate
The newest version!
package com.quhaodian.data.rest.domain;
import java.util.List;
public class AbstractPageVo extends AbstractVo {
/**
* 数据集合
*/
private List list;
/**
* 第几页
*/
private int page;
/**
* 分页大小
*/
private int size;
/**
* 总量
*/
private int total;
/**
* 总共有多少页
*/
private int totalPage;
public List getList() {
return list;
}
public int getPage() {
return page;
}
public int getSize() {
return size;
}
public int getTotal() {
return total;
}
public int getTotalPage() {
return totalPage;
}
public void setList(List list) {
this.list = list;
}
public void setPage(int page) {
this.page = page;
}
public void setSize(int size) {
this.size = size;
}
public void setTotal(int total) {
this.total = total;
}
public void setTotalPage(int totalPage) {
this.totalPage = totalPage;
}
@Override
public String toString() {
return "PageVo [page=" + page + ", size=" + size + ", total=" + total + ", totalPage=" + totalPage
+ ", toString()=" + super.toString() + "]";
}
}