com.taobao.diamond.domain.Page Maven / Gradle / Ivy
package com.taobao.diamond.domain;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public class Page implements Serializable {
static final long serialVersionUID = -1L;
private int totalCount; //
private int pageNumber; //
private int pagesAvailable; //
private List pageItems = new ArrayList(); //
public void setPageNumber(int pageNumber) {
this.pageNumber = pageNumber;
}
public void setPagesAvailable(int pagesAvailable) {
this.pagesAvailable = pagesAvailable;
}
public void setPageItems(List pageItems) {
this.pageItems = pageItems;
}
public int getTotalCount() {
return totalCount;
}
public void setTotalCount(int totalCount) {
this.totalCount = totalCount;
}
public int getPageNumber() {
return pageNumber;
}
public int getPagesAvailable() {
return pagesAvailable;
}
public List getPageItems() {
return pageItems;
}
}