Package com.fastjrun.example.dto
Class PageResult<T>
java.lang.Object
com.fastjrun.example.dto.PageResult<T>
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintgetRows()intgetTotal()intvoidsetCurrPage(int currPage) voidsetPageSize(int pageSize) voidvoidsetTotal(int total) voidsetTotalPage(int totalPage)
-
Field Details
-
PAGE_SIZE_DEFAULT
public static final int PAGE_SIZE_DEFAULT- See Also:
-
-
Constructor Details
-
PageResult
public PageResult() -
PageResult
-
-
Method Details
-
getTotal
public int getTotal() -
setTotal
public void setTotal(int total) -
getPageSize
public int getPageSize() -
setPageSize
public void setPageSize(int pageSize) -
getTotalPage
public int getTotalPage() -
setTotalPage
public void setTotalPage(int totalPage) -
getCurrPage
public int getCurrPage() -
setCurrPage
public void setCurrPage(int currPage) -
getRows
-
setRows
-