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

com.kukababy.pager.Page Maven / Gradle / Ivy

The newest version!
package com.kukababy.pager;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * @describe 描述
 * @author 老汪 [email protected]
 * @date 创建时间:2015年8月24日 下午6:47:41
 * 
 */
public class Page implements Serializable{
	

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private int total = 0;// 总记录数

	private List rows;// 对应的当前页记录
	
	
	

	/**
	 * 
	 */
	public Page() {
		super();
	}

	/**
	 * @param total
	 * @param rows
	 */
	public Page(int total, List rows) {
		super();
		this.total = total;
		this.rows = rows;
	}

	/**
	 * @return the total
	 */
	public int getTotal() {
		return total;
	}

	/**
	 * @param total the total to set
	 */
	public void setTotal(int total) {
		this.total = total;
	}

	/**
	 * @return the rows
	 */
	public List getRows() {
		return rows;
	}

	/**
	 * @param rows the rows to set
	 */
	public void setRows(List rows) {
		this.rows = rows;
	}
	
	


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy