package com.subsidy.util; import lombok.Data; import org.apache.poi.ss.formula.functions.T; import java.util.List; @Data public class PageHelper<T> { private long currentPage; private long total; private long pageSize; private List<T> list; public PageHelper(long pageNum, long total, long pageSize, List<T> list) { this.currentPage = pageNum; this.total = total; this.pageSize = pageSize; this.list = list; } public PageHelper(long pageNum, long pageSize, List<T> list) { this.currentPage = pageNum; this.pageSize = pageSize; this.list = list; } }