package com.hz.his.vo.compare; import lombok.Data; /** * 对比照列表实体 */ @Data public class CompareListVo { /**当前页数*/ private Integer pageNum; /**当前页显示条数*/ private Integer pageSize; /**对比照标识*/ private String id; /**用户标识*/ private String userId; /**項目标识*/ private String projectId; /**項目名称*/ private String projectName; /**用户項目标识*/ private String userProjectItemId; public Integer getPageNum() { if(pageNum == null){ pageNum = 1; } return pageNum; } public void setPageNum(Integer pageNum) { this.pageNum = pageNum; } public Integer getPageSize() { if(pageSize == null || pageSize > 500){ pageSize = 20; } return pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; } }