Interpretation of attribute parameters PageInfo PageHelper pagination plug Mybatis, members of variables

// this page
Private int pageNum;

// page number of
private int pageSize;

the number of the current page //
Private int size;

// Since startRow and endRow unusual, to say the specific usage here
// can be in the page " startRow to display endRow total size of data "
// current page number of the first element row in the database
private int startRow;

// this last element in the page line number in the database
private int endRow;
// record the total number of
private total Long;

// pages
Private pages int;

// set the result (the data per page)
Private List <T> List;

// first
Private int firstPage;

// Previous
Private int prePage;

// whether the first page
Private isFirstPage boolean = false;

// whether the last page of the
Private isLastPage boolean = false;

// Are there previous page
boolean = false hasPreviousPage Private;

// if there Next
Private hasNextPage boolean = false;

// navigation page number
Private int navigatePages;

// all navigation page number
private int [] navigatepageNums;

Guess you like

Origin www.cnblogs.com/xujuntao/p/11027566.html