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

com.quhaodian.data.rest.domain.AbstractPageVo Maven / Gradle / Ivy

The newest version!
package com.quhaodian.data.rest.domain;

import java.util.List;

public class AbstractPageVo extends AbstractVo {

  /**
   * 数据集合
   */
  private List list;

  /**
   * 第几页
   */
  private int page;

  /**
   * 分页大小
   */
  private int size;

  /**
   * 总量
   */
  private int total;

  /**
   * 总共有多少页
   */
  private int totalPage;

  public List getList() {
    return list;
  }

  public int getPage() {
    return page;
  }

  public int getSize() {
    return size;
  }

  public int getTotal() {
    return total;
  }

  public int getTotalPage() {
    return totalPage;
  }

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

  public void setPage(int page) {
    this.page = page;
  }

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

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

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

  @Override
  public String toString() {
    return "PageVo [page=" + page + ", size=" + size + ", total=" + total + ", totalPage=" + totalPage
        + ", toString()=" + super.toString() + "]";
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy