| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- package cn.com.goldenwater.core.param;
- import io.swagger.annotations.ApiModelProperty;
- import io.swagger.annotations.ApiParam;
- public class PageParam extends BaseParam {
- @ApiParam(
- name = "pageNum",
- value = "页码",
- defaultValue = "1"
- )
- private int pageNum = 1;
- @ApiParam(
- name = "pageSize",
- value = "每页记录数",
- defaultValue = "10"
- )
- private int pageSize = 10;
- @ApiParam(
- name = "orderBy",
- value = "排序语句(例如:id desc, create_time desc)"
- )
- private String orderBy;
- @ApiParam(
- name = "count",
- value = "是否查询总数(默认不)",
- defaultValue = "false"
- )
- private boolean count = false;
- @ApiParam(
- name = "offset",
- value = "偏移量:上页最后一条记录标识"
- )
- private String offset;
- @ApiModelProperty(value = "机构id(必填)作为检索条件",required = true)
- private String orgId;
- @ApiModelProperty("行政编码,不需要传")
- private String province;
- public String getProvince() {
- return province;
- }
- public void setProvince(String province) {
- this.province = province;
- }
- public PageParam() {
- }
- public String getOrgId() {
- return orgId;
- }
- public void setOrgId(String orgId) {
- this.orgId = orgId;
- }
- public int getPageNum() {
- return this.pageNum;
- }
- public void setPageNum(int pageNum) {
- this.pageNum = pageNum;
- }
- public int getPageSize() {
- return this.pageSize;
- }
- public void setPageSize(int pageSize) {
- this.pageSize = pageSize;
- }
- public String getOrderBy() {
- return this.orderBy;
- }
- public void setOrderBy(String orderBy) {
- this.orderBy = orderBy;
- }
- public boolean getCount() {
- return this.count;
- }
- public void setCount(boolean containPageInfo) {
- this.count = this.count;
- }
- public String getOffset() {
- return this.offset;
- }
- public void setOffset(String offset) {
- this.offset = offset;
- }
- }
|