Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9e28af9

Browse files
committed
实现序列化接口,测试二级缓存使用。
1 parent 0f34516 commit 9e28af9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/java/com/github/abel533/model/Country.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22

33
import javax.persistence.Column;
44
import javax.persistence.Id;
5+
import java.io.Serializable;
56

67
/**
78
* Description: Country
89
* Author: liuzh
910
* Update: liuzh(2014-06-06 13:38)
1011
*/
11-
public class Country {
12+
public class Country implements Serializable {
13+
private static final long serialVersionUID = -1626761012846137805L;
1214
@Id
1315
private Integer id;
1416
@Column

0 commit comments

Comments
 (0)