com.orgname.cruddata.data.CustomPage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of service-cruddata-springboot Show documentation
Show all versions of service-cruddata-springboot Show documentation
Demo cruddata service project for Spring Boot
The newest version!
package com.orgname.cruddata.data;
import java.util.List;
public class CustomPage {
private List content;
private int totalPages;
private long totalElements;
private int size;
private int number;
public CustomPage(List content, int totalPages, long totalElements, int size, int number) {
this.content = content;
this.totalPages = totalPages;
this.totalElements = totalElements;
this.size = size;
this.number = number;
}
// Getters and setters
public List getContent() {
return content;
}
public void setContent(List content) {
this.content = content;
}
public int getTotalPages() {
return totalPages;
}
public void setTotalPages(int totalPages) {
this.totalPages = totalPages;
}
public long getTotalElements() {
return totalElements;
}
public void setTotalElements(long totalElements) {
this.totalElements = totalElements;
}
public int getSize() {
return size;
}
public void setSize(int size) {
this.size = size;
}
public int getNumber() {
return number;
}
public void setNumber(int number) {
this.number = number;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy