Springboot分页对象
为了应付一下1024的节日,推荐一下Springboot的分页对象
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//
package com.bootcrabframework.cloud.core.component;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ApiModel(
description = "分页对象"
)
public final class Page {
@ApiModelProperty("总记录数,自动返回,请勿设置")
private int count;
@ApiModelProperty("一页显示的数据量")
private int pageSize = 0;
@ApiModelPro