| | |
| | | package com.hz.his.dto; |
| | | |
| | | |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * @author ChenJiaHe |
| | | * 分页扩展类*/ |
| | | @Data |
| | | public class PageDto { |
| | | /**标识*/ |
| | | private String id; |
| | | /**当前页数*/ |
| | | private Integer pageNum; |
| | | /**当前页显示条数*/ |
| | |
| | | private String parentId; |
| | | /**分类标识*/ |
| | | private String typeId; |
| | | |
| | | //appid |
| | | private String appId; |
| | | |
| | | |
| | | public Integer getPageNum() { |
| | |
| | | } |
| | | |
| | | public Integer getPageSize() { |
| | | if(this.pageSize == null || this.pageSize < 0 || this.pageSize > 500){ |
| | | this.pageSize = 500; |
| | | if(this.pageSize == null || this.pageSize < 0 || this.pageSize > 800){ |
| | | this.pageSize = 800; |
| | | } |
| | | return this.pageSize; |
| | | } |
| | |
| | | public void setTypeId(String typeId) { |
| | | this.typeId = typeId; |
| | | } |
| | | |
| | | public String getAppId() { |
| | | return appId; |
| | | } |
| | | |
| | | public void setAppId(String appId) { |
| | | this.appId = appId; |
| | | } |
| | | } |