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; }