4e78c100188da8561d0576ca96b366d8e80f2f29
[institute/sw-backend.git] /
1 package com.supwisdom.institute.backend.common.framework.vo.response.data;
2
3 import java.util.List;
4 import java.util.Map;
5
6 import com.supwisdom.institute.backend.common.framework.entity.ABaseEntity;
7
8 public interface IApiQueryResponseData<E extends ABaseEntity> extends IApiResponseData {
9   
10   /**
11    * 当前页码
12    * @return
13    */
14   int getPageIndex();
15   
16   /**
17    * 每页记录数
18    * @return
19    */
20   int getPageSize();
21   
22   /**
23    * 查询条件
24    * @return
25    */
26   Map<String, Object> getMapBean();
27   
28   /**
29    * 排序字段
30    * @return
31    */
32   Map<String, String> getOrderBy();
33   
34   /**
35    * 总页数
36    * @return
37    */
38   int getPageCount();
39   
40   /**
41    * 总记录数
42    * @return
43    */
44   long getRecordCount();
45   
46   /**
47    * 返回记录数
48    * @return
49    */
50   int getCurrentItemCount();
51   
52   /**
53    * 返回记录
54    * @return
55    */
56   List<E> getItems();
57   
58 }