PageHelper pagination plug-in properties Daquan


// 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

 


----------------
Disclaimer: This article is the original article CSDN blogger "Mr-Xi-", and follow CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/qq_37630354/article/details/81975726

Guess you like

Origin www.cnblogs.com/min-yu/p/11490435.html