fix
Helius
2022-07-04 aa01829055f7711f6b46c40632997641e1a9e38d
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-07-04
 **/
@Data
@ApiModel(value = "TemplateListDto", description = "模板列表接口参数接收类")
public class TemplateListDto {
 
    @NotNull(message = "参数不能为空")
    @ApiModelProperty(value = "每页条数", example = "10")
    private Integer pageSize;
 
    @NotNull(message = "参数不能为空")
    @ApiModelProperty(value = "第几页", example = "1")
    private Integer pageNum;
}