mirror of
https://github.com/dairuoqi/Springboot-rock-admin.git
synced 2026-10-23 20:23:46 +00:00
Excel工具
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
package com.rock.geological.utils;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class PageUtil<T> {
|
||||
private static final long serialVersionUID = 1L;
|
||||
private int total;
|
||||
private List<T> list;
|
||||
|
||||
public PageUtil(List<T> list, int total) {
|
||||
this.list = list;
|
||||
this.total = total;
|
||||
}
|
||||
|
||||
public int getTotal() {
|
||||
return total;
|
||||
}
|
||||
|
||||
public void setTotal(int total) {
|
||||
this.total = total;
|
||||
}
|
||||
|
||||
public List<?> getList() {
|
||||
return list;
|
||||
}
|
||||
|
||||
public void setList(List<T> list) {
|
||||
this.list = list;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user