com.github.aly8246.collectionutil.model.Index Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of collection-util Show documentation
Show all versions of collection-util Show documentation
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!
package com.github.aly8246.collectionutil.model;
import lombok.AllArgsConstructor;
import lombok.Data;
@Data
@AllArgsConstructor
public class Index {
private Integer index;
private Integer total;
private Integer start;
public Index() {
}
public Index(Integer index, Integer total) {
this.index = index;
this.total = total;
}
private Integer end;
}