• 分页类~


    package com.bms.book.entity;

    import java.util.List;

    public class PageBean {

     private Integer totalRecords;
     private Integer totalPages;
     private Integer pageSize;
     private Integer currentPage;
     private List<?> list;
      
     public PageBean() {
      this.currentPage=1;
      this.pageSize=2;
     }
     public Integer getTotalRecords() {
      return totalRecords;
     }
     public void setTotalRecords(Integer totalRecords) {
      this.totalRecords = totalRecords;
     }
     public Integer getTotalPages() {
      return totalPages;
     }
     public void setTotalPages(Integer totalPages) {
      this.totalPages = totalPages;
     }
     public Integer getPageSize() {
      return pageSize;
     }
     public void setPageSize(Integer pageSize) {
      this.pageSize = pageSize;
     }
     public Integer getCurrentPage() {
      return currentPage;
     }
     public void setCurrentPage(Integer currentPage) {
      this.currentPage = currentPage;
     }
     public List<?> getList() {
      return list;
     }
     public void setList(List<?> list) {
      this.list = list;
     }
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    }

  • 相关阅读:
    Swift,数组
    Android-Binder(一)
    Android 前台服务
    Android-Service和Thread
    Android-认识Service
    Android-属性动画
    Android-Activity的切换效果
    Android-LayoutAnimation
    django模板解析 循环列表中 切片和求长度
    ubuntu16 安装cron 以及使用
  • 原文地址:https://www.cnblogs.com/yang-32/p/5704305.html
Copyright © 2020-2023  润新知