KKSU
2024-01-09 b492e64e491596b0af149f1a5d679b77f47dafcd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
}