All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.aly8246.collectionutil.model.Page Maven / Gradle / Ivy

Go to download

Collection Util is a mybatis plug-in designed to solve the problem of N + 1 in mysql. When you use Mysql to query linked tables and pages, there will be n + 1 problem. This plug-in can help you!

There is a newer version: 1.1.1.RELEASE
Show newest version
package com.github.aly8246.collectionutil.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
public class Page {

@ApiModelProperty(value = "第几页,默认第一页", name = "page", example = "1", required = false)
private int page;

@ApiModelProperty(value = "每页的大小,默认一页10条数据", name = "pageSize", example = "10", required = false)
private int pageSize;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy