package cn.hnist.pojo;

import java.util.List;

/**
 * 分页实体类
 */
public class PageBean<T> {

    private Integer totalCount;     // 总记录数
    private Integer totalPage;      // 总页码
    private Integer currentPage;    // 当前页码
    private Integer rows;           // 每页显示的记录数
    private List<T> list;           // 每页的数据

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    public Integer getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(Integer totalPage) {
        this.totalPage = totalPage;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

}
