mirror of
https://github.com/201206030/novel-plus.git
synced 2025-07-01 15:26:37 +00:00
36 lines
563 B
Java
36 lines
563 B
Java
package com.java2nb.common.utils;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @Author xiongxy
|
|
*/
|
|
public class PageBean implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
private int total;
|
|
private List<?> rows;
|
|
|
|
public PageBean(List<?> list, int total) {
|
|
this.rows = list;
|
|
this.total = total;
|
|
}
|
|
|
|
public int getTotal() {
|
|
return total;
|
|
}
|
|
|
|
public void setTotal(int total) {
|
|
this.total = total;
|
|
}
|
|
|
|
public List<?> getRows() {
|
|
return rows;
|
|
}
|
|
|
|
public void setRows(List<?> rows) {
|
|
this.rows = rows;
|
|
}
|
|
|
|
}
|