package com.newfiber.common.bean; import java.io.Serializable; import java.util.List; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; /** * 返回的分页对象 * @Author:zzh * @CreateDate:2020/11/11 16:53 * @Description: */ @Data @AllArgsConstructor @NoArgsConstructor public class PageResultObject<T> implements Serializable { /** 当前页 */ private Integer current; /** 取多少条 */ private Integer size; /** 总数 */ private Long total; /** 返回的数据 */ private List<T> list; }