All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ext_ext.mybatisext.helper.Page Maven / Gradle / Ivy

package com.ext_ext.mybatisext.helper;

import java.util.List;


public interface Page {


	/**
	 * 当前是第几页,默认1,不能小于1
	 * 

* * @return */ int getPageNo(); /** * 每页条数 *

* * @return */ int getPageSize(); /** * 分页结果记录 *

* * @param data */ void setRecords( List data ); /** * 获取记录结果 *

* * @return */ List getRecords(); /** * 数据库中的总条数,自行计算总页数 *

* * @param count */ void setCount( int count ); /** * 获取总记录数 *

* * @return */ int getCount(); /** * 获取总页数 *

* * @return */ int getPages(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy