提交 | 用户 | age
|
a6a76f
|
1 |
package com.yc.utils; |
F |
2 |
|
|
3 |
import java.util.List; |
|
4 |
|
|
5 |
/** |
|
6 |
* 分页信息Bean |
|
7 |
* @author 邓文峰 |
|
8 |
* 2010-2-23 |
|
9 |
* */ |
|
10 |
public class PageInfo { |
|
11 |
private int pageSize; |
|
12 |
private int totalRowNum ; |
|
13 |
private int startRowNum ; |
|
14 |
private int pageNum; |
|
15 |
private int endRowNum ; |
|
16 |
private int totalPageNum ; |
|
17 |
private String where;//查询条件 |
|
18 |
private String tableName;//表名 |
|
19 |
private String orderBy;//排序 |
|
20 |
private String sql;//查询体 |
|
21 |
private String id;//主键 |
|
22 |
private Cfg Cfg; |
|
23 |
//private String Filters; |
|
24 |
//private String IO; |
|
25 |
private Exprs Exprs;//权限控制 |
|
26 |
private CssExprs CssExprs;//css控制 |
|
27 |
private TipsExprs TipsExprs;// 提示信息 |
|
28 |
private List<Body> Body; |
|
29 |
private Fields Fields;//字段显示列表,把它提交到数据库,避免用*号查询,性能较好 |
|
30 |
private CutFilter CutFilter;//过滤第三表用 |
|
31 |
private String rowspan;//指定哪些字段需要合并行的 by12-3-21 |
|
32 |
private Cps Cps;//复单 |
|
33 |
private String excelTitle;//保存excel动态标题 |
3d9f25
|
34 |
private String formName;//功能号名称 |
a6a76f
|
35 |
|
F |
36 |
private String primeKey="";//主键,用作更新,删除时候做where条件,匹配 |
|
37 |
|
3d9f25
|
38 |
public String getFormName() { |
F |
39 |
return formName; |
|
40 |
} |
|
41 |
|
|
42 |
public void setFormName(String formName) { |
|
43 |
this.formName = formName; |
|
44 |
} |
|
45 |
|
|
46 |
public String getPrimeKey() { |
a6a76f
|
47 |
return primeKey; |
F |
48 |
} |
|
49 |
public void setPrimeKey(String primeKey) { |
|
50 |
this.primeKey = primeKey; |
|
51 |
} |
|
52 |
public TipsExprs getTipsExprs() { |
|
53 |
return TipsExprs; |
|
54 |
} |
|
55 |
public void setTipsExprs(TipsExprs tipsExprs) { |
|
56 |
TipsExprs = tipsExprs; |
|
57 |
} |
|
58 |
public CssExprs getCssExprs() { |
|
59 |
return CssExprs; |
|
60 |
} |
|
61 |
public void setCssExprs(CssExprs cssExprs) { |
|
62 |
CssExprs = cssExprs; |
|
63 |
} |
|
64 |
public String getExcelTitle() { |
|
65 |
return excelTitle; |
|
66 |
} |
|
67 |
public void setExcelTitle(String excelTitle) { |
|
68 |
this.excelTitle = excelTitle; |
|
69 |
} |
|
70 |
public Cps getCps() { |
|
71 |
return Cps; |
|
72 |
} |
|
73 |
public void setCps(Cps cp) { |
|
74 |
Cps = cp; |
|
75 |
} |
|
76 |
public String getRowspan() { |
|
77 |
return rowspan; |
|
78 |
} |
|
79 |
public void setRowspan(String rowspan) { |
|
80 |
this.rowspan = rowspan; |
|
81 |
} |
|
82 |
public Exprs getExprs() { |
|
83 |
return Exprs; |
|
84 |
} |
|
85 |
public void setExprs(Exprs exprs) { |
|
86 |
Exprs = exprs; |
|
87 |
} |
|
88 |
public CutFilter getCutFilter() { |
|
89 |
return CutFilter; |
|
90 |
} |
|
91 |
public void setCutFilter(CutFilter cutFilter) { |
|
92 |
CutFilter = cutFilter; |
|
93 |
} |
|
94 |
public List<Body> getBody() { |
|
95 |
return Body; |
|
96 |
} |
|
97 |
public void setBody(List<Body> body) { |
|
98 |
Body = body; |
|
99 |
} |
|
100 |
public Fields getFields() { |
|
101 |
return Fields; |
|
102 |
} |
|
103 |
public void setFields(Fields fields) { |
|
104 |
Fields = fields; |
|
105 |
} |
|
106 |
public Cfg getCfg() { |
|
107 |
return Cfg; |
|
108 |
} |
|
109 |
public void setCfg(Cfg cfg) { |
|
110 |
Cfg = cfg; |
|
111 |
} |
|
112 |
|
|
113 |
//public String getFilters() { |
|
114 |
// return Filters; |
|
115 |
//} |
|
116 |
//public void setFilters(String filters) { |
|
117 |
// Filters = filters; |
|
118 |
//} |
|
119 |
//public String getIO() { |
|
120 |
// return IO; |
|
121 |
//} |
|
122 |
//public void setIO(String iO) { |
|
123 |
// IO = iO; |
|
124 |
//} |
|
125 |
|
|
126 |
|
|
127 |
public String getWhere() { |
|
128 |
return where; |
|
129 |
} |
|
130 |
public void setWhere(String where) { |
|
131 |
this.where = where; |
|
132 |
} |
|
133 |
public String getTableName() { |
|
134 |
return tableName; |
|
135 |
} |
|
136 |
public void setTableName(String tableName) { |
|
137 |
this.tableName = tableName; |
|
138 |
} |
|
139 |
public String getOrderBy() { |
|
140 |
return orderBy; |
|
141 |
} |
|
142 |
public void setOrderBy(String orderBy) { |
|
143 |
this.orderBy = orderBy; |
|
144 |
} |
|
145 |
public String getSql() { |
|
146 |
return sql; |
|
147 |
} |
|
148 |
public void setSql(String sql) { |
|
149 |
this.sql = sql; |
|
150 |
} |
|
151 |
public String getId() { |
|
152 |
return id; |
|
153 |
} |
|
154 |
public void setId(String id) { |
|
155 |
this.id = id; |
|
156 |
} |
|
157 |
public int getPageSize() { |
|
158 |
return pageSize; |
|
159 |
} |
|
160 |
public void setPageSize(int pageSize) { |
|
161 |
this.pageSize = pageSize; |
|
162 |
} |
|
163 |
public int getTotalRowNum() { |
|
164 |
return totalRowNum; |
|
165 |
} |
|
166 |
public void setTotalRowNum(int totalRowNum) { |
|
167 |
this.totalRowNum = totalRowNum; |
|
168 |
} |
|
169 |
public int getStartRowNum() { |
|
170 |
return startRowNum; |
|
171 |
} |
|
172 |
public void setStartRowNum(int startRowNum) { |
|
173 |
this.startRowNum = startRowNum; |
|
174 |
} |
|
175 |
public int getPageNum() { |
|
176 |
return pageNum; |
|
177 |
} |
|
178 |
public void setPageNum(int pageNum) { |
|
179 |
this.pageNum = pageNum; |
|
180 |
} |
|
181 |
public int getEndRowNum() { |
|
182 |
return endRowNum; |
|
183 |
} |
|
184 |
public void setEndRowNum(int endRowNum) { |
|
185 |
this.endRowNum = endRowNum; |
|
186 |
} |
|
187 |
public int getTotalPageNum() { |
|
188 |
return totalPageNum; |
|
189 |
} |
|
190 |
public void setTotalPageNum(int totalPageNum) { |
|
191 |
this.totalPageNum = totalPageNum; |
|
192 |
} |
|
193 |
|
|
194 |
} |