You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
558 B
30 lines
558 B
11 months ago
|
package com.cya.entity;
|
||
|
|
||
|
import java.io.Serializable;
|
||
|
import java.util.List;
|
||
|
|
||
|
public class PageResult implements Serializable{
|
||
|
|
||
|
private long total; //总记录数
|
||
|
private List rows; //当前页面结果(当前要现实的数据)
|
||
|
|
||
|
public PageResult(long total,List rows) {
|
||
|
this.total=total;
|
||
|
this.rows=rows;
|
||
|
}
|
||
|
public long getTotal() {
|
||
|
return total;
|
||
|
}
|
||
|
public void setTotal(long total) {
|
||
|
this.total = total;
|
||
|
}
|
||
|
public List getRows() {
|
||
|
return rows;
|
||
|
}
|
||
|
public void setRows(List rows) {
|
||
|
this.rows = rows;
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|