package com.xcong.farmer.cms.modules.system.dto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotNull; /** * @author wzy * @date 2022-08-19 **/ @Data @ApiModel(value = "CommonPageDto", description = "分页公共参数接收类") public class CommonPageDto { @NotNull(message = "参数错误") @ApiModelProperty(value = "每页条数", example = "10") private Integer pageSize; @NotNull(message = "参数错误") @ApiModelProperty(value = "第几页", example = "1") private Integer pageNum; }