Advertisement

Spring Boot处理页面组件

阅读量:

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;
    @ApiModelProperty("页码,从一开始,比

全部评论 (0)

还没有任何评论哟~