xiaoyong931011
2022-02-23 29310bedd35effb09afa54617a0cfd10a079262e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.xcong.excoin.modules.helpCenter.dto;
 
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
@Data
@ApiModel(value = "NoticePageDto", description = "参数接受类")
public class NoticePageDto {
    
    @NotNull
    @Min(1)
    @ApiModelProperty(value = "第几页", example = "1")
    private int pageNum;
 
    @NotNull
    @ApiModelProperty(value = "每页数量", example = "10")
    private int pageSize;
    
    @NotNull
    @ApiModelProperty(value = "类型1:中文2:英文", example = "1")
    private int type;
    
    @NotNull
    @ApiModelProperty(value = "ID", example = "1")
    private Long id;
 
}