feat(admin-server): 新增角色查询参数封装类
This commit is contained in:
parent
d4ac89bd28
commit
41cae3cb1f
|
|
@ -0,0 +1,17 @@
|
||||||
|
package com.example.admin_server.model.query;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class RoleQuery {
|
||||||
|
@ApiModelProperty("页码")
|
||||||
|
private Integer pageNum = 1;
|
||||||
|
|
||||||
|
@ApiModelProperty("每页数量")
|
||||||
|
private Integer pageSize = 10;
|
||||||
|
|
||||||
|
@ApiModelProperty("角色名称关键词")
|
||||||
|
private String keyword;
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Reference in New Issue