Browse Source

--add property descp;

zzy.zhiyuan.foxmail 8 years ago
parent
commit
5b0d79c913
1 changed files with 7 additions and 1 deletions
  1. 7 1
      jfwUtil/src/main/java/org/jfw/util/state/StateCode.java

+ 7 - 1
jfwUtil/src/main/java/org/jfw/util/state/StateCode.java

@ -6,6 +6,7 @@ public class StateCode<K,V> {
6 6
	private long expiredTime;
7 7
	private K key;
8 8
	private V value;
9
	private String descp;
9 10
	
10 11
	public String getCode() {
11 12
		return code;
@ -37,6 +38,11 @@ public class StateCode<K,V> {
37 38
	public void setValue(V value) {
38 39
		this.value = value;
39 40
	}
40
	
41
	public String getDescp() {
42
		return descp;
43
	}
44
	public void setDescp(String descp) {
45
		this.descp = descp;
46
	}
41 47
42 48
}