package com.xcong.farmer.cms.core.tag.data;
|
|
import java.util.List;
|
|
/**
|
* @author wzy
|
* @date 2022-07-06
|
**/
|
public class PageData {
|
|
/**
|
* 当前页
|
*/
|
private Integer index;
|
|
/**
|
* 下一页链接
|
*/
|
private String next;
|
|
/**
|
* 上一页链接
|
*/
|
private String prev;
|
|
/**
|
* 总页数
|
*/
|
private int totalPage;
|
|
/**
|
* 总条数
|
*/
|
private int totalCnt;
|
|
/**
|
* 页码
|
*/
|
private List<PageChildData> children;
|
|
public List<PageChildData> getChildren() {
|
return children;
|
}
|
|
public void setChildren(List<PageChildData> children) {
|
this.children = children;
|
}
|
|
public Integer getIndex() {
|
return index;
|
}
|
|
public void setIndex(Integer index) {
|
this.index = index;
|
}
|
|
public String getNext() {
|
return next;
|
}
|
|
public void setNext(String next) {
|
this.next = next;
|
}
|
|
public String getPrev() {
|
return prev;
|
}
|
|
public void setPrev(String prev) {
|
this.prev = prev;
|
}
|
|
public int getTotalPage() {
|
return totalPage;
|
}
|
|
public void setTotalPage(int totalPage) {
|
this.totalPage = totalPage;
|
}
|
|
public int getTotalCnt() {
|
return totalCnt;
|
}
|
|
public void setTotalCnt(int totalCnt) {
|
this.totalCnt = totalCnt;
|
}
|
}
|