package com.softeem.JDBC.proc;
import java.util.List;
public class PageUtils {
/**
* DTO 通用分页工具类
*
* @author mrchai
*/
private int currentPage; // 当前页
private int pageSize; // 每页大小
private String tableName; // 表名称
private String selections; // 查询列
private String condition; // 查询条件
private String sortColumn; // 排序列
private String sortType; // 排序类型 asc desc
private int totalNum; // 总记录数
private int totalPage; // 总页码数
private List<Object[]> datas; // 当前页数据
public int getCurrentPage() {
return currentPage;
}
public void setCurrentPage(int currentPage) {
this.currentPage = currentPage;
}
public int getPageSize() {
return pageSize;
}
public void setPageSize(int pageSize) {
this.pageSize = pageSize;
}
public String getTableName() {
return tableName;
}
public void setTableName(String tableName) {
this.tableName = tableName;
}
public String getSelections() {
return selections;
}
DTO 通用分页工具类
最新推荐文章于 2023-06-18 15:03:06 发布