修改分页请求参数和响应
This commit is contained in:
		@ -1,31 +0,0 @@
 | 
			
		||||
package org.dromara.common.core.common;
 | 
			
		||||
 | 
			
		||||
import lombok.Data;
 | 
			
		||||
import org.dromara.common.core.constant.CommonConstant;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * 分页请求
 | 
			
		||||
 */
 | 
			
		||||
@Data
 | 
			
		||||
public class PageRequest {
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 当前页号
 | 
			
		||||
     */
 | 
			
		||||
    private int current = 1;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 页面大小
 | 
			
		||||
     */
 | 
			
		||||
    private int pageSize = 10;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 排序字段
 | 
			
		||||
     */
 | 
			
		||||
    private String sortField;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 排序顺序(默认升序)
 | 
			
		||||
     */
 | 
			
		||||
    private String sortOrder = CommonConstant.SORT_ORDER_ASC;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user