mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	add 增加 分页查询实体类
This commit is contained in:
		@@ -0,0 +1,45 @@
 | 
				
			|||||||
 | 
					package com.ruoyi.common.core.domain;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import io.swagger.annotations.ApiModelProperty;
 | 
				
			||||||
 | 
					import lombok.Data;
 | 
				
			||||||
 | 
					import lombok.experimental.Accessors;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import java.io.Serializable;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * 分页查询实体类
 | 
				
			||||||
 | 
					 *
 | 
				
			||||||
 | 
					 * @author Lion Li
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@Data
 | 
				
			||||||
 | 
					@Accessors(chain = true)
 | 
				
			||||||
 | 
					public class PageQuery implements Serializable {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						private static final long serialVersionUID = 1L;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * 分页大小
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @ApiModelProperty("分页大小")
 | 
				
			||||||
 | 
					    private Integer pageSize;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * 当前页数
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @ApiModelProperty("当前页数")
 | 
				
			||||||
 | 
					    private Integer pageNum;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * 排序列
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @ApiModelProperty("排序列")
 | 
				
			||||||
 | 
					    private String orderByColumn;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * 排序的方向desc或者asc
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @ApiModelProperty(value = "排序的方向", example = "asc,desc")
 | 
				
			||||||
 | 
					    private String isAsc;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user