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

com.splittypay.model.Page Maven / Gradle / Ivy

package com.splittypay.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
@Getter
@Setter
public class Page {
    private int number;
    private int size;
    private int totalPages;
    private int numberOfElements;
    private long totalElements;
    private boolean previousPage;
    private boolean firstPage;
    private boolean nextPage;
    private boolean lastPage;
    private List content;

    public Page() {
        this.content = new ArrayList<>();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy