提交 | 用户 | 时间
|
58d006
|
1 |
package com.mandi.dao.common; |
A |
2 |
|
|
3 |
import java.io.Serializable; |
|
4 |
import java.util.List; |
|
5 |
|
|
6 |
/** |
|
7 |
*@Title:PageResult.java |
|
8 |
*@date:2016年2月25日 |
|
9 |
*@author:guolq无 |
|
10 |
*/ |
|
11 |
|
|
12 |
public class PageResult<T> implements Serializable { |
|
13 |
private int rowCount; |
|
14 |
private int pagesize; |
|
15 |
private int pages; |
|
16 |
private int page; |
|
17 |
/** |
|
18 |
*记录列表 |
|
19 |
*/ |
|
20 |
private List<T> items; |
|
21 |
private List<T> list; |
|
22 |
|
|
23 |
private String hint; |
|
24 |
private String errmsg; |
|
25 |
private int Code; |
|
26 |
public int getPagesize() { |
|
27 |
return pagesize; |
|
28 |
} |
|
29 |
public void setPagesize(int pagesize) { |
|
30 |
this.pagesize = pagesize; |
|
31 |
} |
|
32 |
public int getPages() { |
|
33 |
return pages; |
|
34 |
} |
|
35 |
public void setPages(int pages) { |
|
36 |
this.pages = pages; |
|
37 |
} |
|
38 |
public int getPage() { |
|
39 |
return page; |
|
40 |
} |
|
41 |
public void setPage(int page) { |
|
42 |
this.page = page; |
|
43 |
} |
|
44 |
public List<T> getItems() { |
|
45 |
return items; |
|
46 |
} |
|
47 |
public void setItems(List<T> items) { |
|
48 |
this.items = items; |
|
49 |
} |
|
50 |
public int getRowCount() { |
|
51 |
return rowCount; |
|
52 |
} |
|
53 |
public void setRowCount(int rowCount) { |
|
54 |
this.rowCount = rowCount; |
|
55 |
} |
|
56 |
public String getHint() { |
|
57 |
return hint; |
|
58 |
} |
|
59 |
public void setHint(String hint) { |
|
60 |
this.hint = hint; |
|
61 |
} |
|
62 |
public int getCode() { |
|
63 |
return Code; |
|
64 |
} |
|
65 |
public void setCode(int code) { |
|
66 |
Code = code; |
|
67 |
} |
|
68 |
public List<T> getList() { |
|
69 |
return list; |
|
70 |
} |
|
71 |
public void setList(List<T> list) { |
|
72 |
this.list = list; |
|
73 |
} |
|
74 |
public String getErrmsg() { |
|
75 |
return errmsg; |
|
76 |
} |
|
77 |
public void setErrmsg(String errmsg) { |
|
78 |
this.errmsg = errmsg; |
|
79 |
} |
|
80 |
|
|
81 |
} |