You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package ${domain}.frame.base;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* ApiFindRequest - 基类
|
|
|
|
*
|
|
|
|
* @author wangbing
|
|
|
|
* @version 0.0.1
|
|
|
|
* @since 2017-01-01
|
|
|
|
*/
|
|
|
|
public abstract class BaseFindRequest<T> extends BaseRequest{
|
|
|
|
|
|
|
|
private long pageNumber = 1L;
|
|
|
|
|
|
|
|
private long pageSize = 10L;
|
|
|
|
|
|
|
|
private String sortKey;
|
|
|
|
|
|
|
|
private SortType sortType;
|
|
|
|
|
|
|
|
public String getSortKey() {
|
|
|
|
return sortKey;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSortKey(String sortKey) {
|
|
|
|
this.sortKey = sortKey;
|
|
|
|
}
|
|
|
|
|
|
|
|
public SortType getSortType() {
|
|
|
|
return sortType;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSortType(SortType sortType) {
|
|
|
|
this.sortType = sortType;
|
|
|
|
}
|
|
|
|
public long getPageNumber() {
|
|
|
|
return pageNumber;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setPageNumber(long pageNumber) {
|
|
|
|
this.pageNumber = pageNumber;
|
|
|
|
}
|
|
|
|
|
|
|
|
public long getPageSize() {
|
|
|
|
return pageSize;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setPageSize(long pageSize) {
|
|
|
|
this.pageSize = pageSize;
|
|
|
|
}
|
|
|
|
}
|