| | |
| | | package com.hz.his.dto; |
| | | |
| | | |
| | | import lombok.Data; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author ChenJiaHe |
| | | * 分页扩展类*/ |
| | | @Data |
| | | public class PageDto { |
| | | /**标识*/ |
| | | private String id; |
| | | /**当前页数*/ |
| | | private Integer pageNum; |
| | | /**当前页显示条数*/ |
| | |
| | | private String parentId; |
| | | /**分类标识*/ |
| | | private String typeId; |
| | | |
| | | private List<String> typeIdList; |
| | | /**appid*/ |
| | | private String appId; |
| | | |
| | | public Integer getPageNum() { |
| | | if(this.pageNum == null || this.pageNum < 0){ |
| | |
| | | } |
| | | |
| | | public Integer getPageSize() { |
| | | if(this.pageSize == null || this.pageSize < 0 || this.pageSize > 500){ |
| | | this.pageSize = 20; |
| | | 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; |
| | | } |
| | | } |