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.
32 lines
529 B
32 lines
529 B
5 years ago
|
package com.yipin.liuwanr.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;
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|