| | |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import java.io.Serializable; |
| | | import javax.validation.constraints.DecimalMin; |
| | | |
| | | /** |
| | | * <p></p> |
| | |
| | | * @date 2020/8/24 16:39 |
| | | */ |
| | | @ApiModel(value = "基础查询列表dto") |
| | | public class BasePage { |
| | | public class BasePage implements Serializable { |
| | | |
| | | private static final long serialVersionUID = -6677391205868835849L; |
| | | /** |
| | | * 分页参数,当前页码 |
| | | */ |
| | | @ApiModelProperty(value = "分页参数,当前页码") |
| | | @DecimalMin(value = "1", message = "当前页码最小为1") |
| | | private Integer pageCurr = 1; |
| | | /** |
| | | * 分页参数,每页数量 |
| | | */ |
| | | @ApiModelProperty(value = "分页参数,每页数量,默认为10") |
| | | @DecimalMin(value = "1", message = "每页数量最低为1") |
| | | private Integer pageSize = 10; |
| | | |
| | | public Integer getPageCurr() { |