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

org.iartisan.runtime.bean.Page Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
package org.iartisan.runtime.bean;

import java.io.Serializable;

/**
 * 

* 分页组件使用 * * @author King * @since 2017/4/17 */ public class Page implements Serializable { private int pageSize = 10; private int totalPage; private int currPage = 1; private int totalRecords; public int getPageSize() { return pageSize; } public void setPageSize(int pageSize) { this.pageSize = pageSize; } public int getTotalPage() { return totalPage; } public void setTotalPage(int totalPage) { this.totalPage = totalPage; } public int getCurrPage() { return currPage; } public void setCurrPage(int currPage) { this.currPage = currPage; } public int getTotalRecords() { return totalRecords; } public void setTotalRecords(int totalRecords) { this.totalRecords = totalRecords; } @Override public String toString() { final StringBuilder sb = new StringBuilder("Page{"); sb.append("pageSize=").append(pageSize); sb.append(", totalPage=").append(totalPage); sb.append(", currPage=").append(currPage); sb.append(", totalRecords=").append(totalRecords); sb.append('}'); return sb.toString(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy