package com.itheima.pojo; import java.util.List; // 分页查询 JavaBean // <T>为了更好的契合各种各样的查询 <Brand> / <User> public class PageBean<T> { // 总记录数 private int totalCount; // 当前页数据 private List<T> rows; public int getTotalCount() { return totalCount; } public void setTotalCount(int totalCount) { this.totalCount = totalCount; } public List<T> getRows() { return rows; } public void setRows(List<T> rows) { this.rows = rows; } }
标签:分析,rows,分页,int,List,查询,totalCount,public From: https://www.cnblogs.com/Karl-hut/p/17529593.html