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

com.circustar.mybatis_accessor.response.PageInfo Maven / Gradle / Ivy

The newest version!
package com.circustar.mybatis_accessor.response;

import java.util.List;

public class PageInfo {
    private List records;
    private Long total;
    private Long size;
    private Long current;

    public PageInfo() {
        total = 0L;
        size = 0L;
        current = 0L;
    }

    public PageInfo(Long total, Long size, Long current) {
        this(total, size, current, null);
    }

    public PageInfo(Long total, Long size, Long current, List records) {
        this.total = total;
        this.size = size;
        this.current = current;
        this.records = records;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public Long getCurrent() {
        return current;
    }

    public void setCurrent(Long current) {
        this.current = current;
    }

    public List getRecords() {
        return records;
    }

    public void setRecords(List records) {
        this.records = records;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy