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

com.javajy.api.component.Page Maven / Gradle / Ivy

The newest version!
package com.javajy.api.component;

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

public class Page extends PageEntity {
    protected Integer currentPage = 1;
    protected Integer pageSize = 15;
    protected Integer totalPage = 1;
    protected Integer totalCount = 1;
    protected List list = new ArrayList();

    public Page() {
    }

    public Page(Integer var1, Integer var2, Integer var3, List var4) {
        this.currentPage = var1;
        this.pageSize = var2;
        this.totalCount = var3;
        this.list = var4;
        this.totalPage = this.getTotalPage(var3, var2);
    }

    public Integer getCurrentPage() {
        return this.currentPage;
    }

    public void setCurrentPage(Integer var1) {
        this.currentPage = var1;
    }

    public Integer getPageSize() {
        return this.pageSize;
    }

    public void setPageSize(Integer var1) {
        this.pageSize = var1;
    }

    public Integer getTotalPage() {
        return this.totalPage;
    }

    public void setTotalPage(Integer var1) {
        this.totalPage = var1;
    }

    public Integer getTotalCount() {
        return this.totalCount;
    }

    public void setTotalCount(Integer var1) {
        this.totalCount = var1;
    }

    public List getList() {
        return this.list;
    }

    public void setList(List var1) {
        this.list = var1;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy