瀏覽代碼

Update CommonPage.java

macro 4 年之前
父節點
當前提交
8c15f7d88f
共有 1 個文件被更改,包括 15 次插入0 次删除
  1. 15 0
      mall-common/src/main/java/com/macro/mall/common/api/CommonPage.java

+ 15 - 0
mall-common/src/main/java/com/macro/mall/common/api/CommonPage.java

@@ -10,10 +10,25 @@ import java.util.List;
  * Created by macro on 2019/4/19.
  */
 public class CommonPage<T> {
+    /**
+     * 当前页码
+     */
     private Integer pageNum;
+    /**
+     * 每页数量
+     */
     private Integer pageSize;
+    /**
+     * 总页数
+     */
     private Integer totalPage;
+    /**
+     * 总条数
+     */
     private Long total;
+    /**
+     * 分页数据
+     */
     private List<T> list;
 
     /**