![JAR search and dependency download from the Maven repository](/logo.png)
com.quhaodian.data.core.Paginable Maven / Gradle / Ivy
package com.quhaodian.data.core;
/**
* 分页接口
*/
public interface Paginable {
/**
* 总记录数
*
* @return
*/
int getTotalCount();
/**
* 总页数
*
* @return
*/
int getTotalPage();
/**
* 每页记录数
*
* @return
*/
int getPageSize();
/**
* 当前页号
*
* @return
*/
int getPageNo();
/**
* 是否第一页
*
* @return
*/
boolean isFirstPage();
/**
* 是否最后一页
*
* @return
*/
boolean isLastPage();
/**
* 返回下页的页号
*/
int getNextPage();
/**
* 返回上页的页号
*/
int getPrePage();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy