Package top.codef.models
Class Pageable
java.lang.Object
top.codef.models.Pageable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getOrder()
int
void
setEachPageSize
(int eachPageSize) void
void
setOrderStr
(String orderStr) void
setPageCount
(Long pageCount) void
setPageNo
(int pageNo) void
setTotalCount
(Long totalCount) toString()
-
Constructor Details
-
Pageable
public Pageable()
-
-
Method Details
-
getPageCount
- Returns:
- the pageCount
-
setPageCount
- Parameters:
pageCount
- the pageCount to set
-
getEachPageSize
public int getEachPageSize()- Returns:
- the eachPageSize
-
setEachPageSize
public void setEachPageSize(int eachPageSize) - Parameters:
eachPageSize
- the eachPageSize to set
-
getPageNo
public int getPageNo()- Returns:
- the pageNo
-
setPageNo
public void setPageNo(int pageNo) - Parameters:
pageNo
- the pageNo to set
-
getOrder
- Returns:
- the order
-
setOrder
- Parameters:
order
- the order to set
-
getOrderStr
- Returns:
- the orderStr
-
setOrderStr
- Parameters:
orderStr
- the orderStr to set
-
getTotalCount
- Returns:
- the totalCount
-
setTotalCount
- Parameters:
totalCount
- the totalCount to set
-
toString
-