提交 | 用户 | 时间
|
58d006
|
1 |
package com.mandi.dao.common; |
A |
2 |
|
|
3 |
import java.io.Serializable; |
|
4 |
|
|
5 |
|
|
6 |
/** |
|
7 |
* @author mengly |
|
8 |
* @version 创建时间:2016年4月2日 下午4:01:52 |
|
9 |
* 类说明 |
|
10 |
*/ |
|
11 |
|
|
12 |
public class ObjectResult<T> implements Serializable{ |
|
13 |
|
|
14 |
private int code; |
|
15 |
private String hint; |
|
16 |
private String errmsg; |
|
17 |
private T item; |
|
18 |
|
|
19 |
|
|
20 |
public int getCode() { |
|
21 |
return code; |
|
22 |
} |
|
23 |
public void setCode(int code) { |
|
24 |
this.code = code; |
|
25 |
} |
|
26 |
public String getHint() { |
|
27 |
return hint; |
|
28 |
} |
|
29 |
public void setHint(String hint) { |
|
30 |
this.hint = hint; |
|
31 |
} |
|
32 |
public T getItem() { |
|
33 |
return item; |
|
34 |
} |
|
35 |
public void setItem(T item) { |
|
36 |
this.item = item; |
|
37 |
} |
|
38 |
public String getErrmsg() { |
|
39 |
return errmsg; |
|
40 |
} |
|
41 |
public void setErrmsg(String errmsg) { |
|
42 |
this.errmsg = errmsg; |
|
43 |
} |
|
44 |
|
|
45 |
|
|
46 |
} |