File tree Expand file tree Collapse file tree 2 files changed +22
-12
lines changed
src/test/java/tk/mybatis/mapper/model Expand file tree Collapse file tree 2 files changed +22
-12
lines changed Original file line number Diff line number Diff line change 31
31
* Created by liuzh on 2014/11/21.
32
32
*/
33
33
@ Table (name = "user_info" )
34
- public class UserInfoAble implements Serializable {
34
+ public class UserInfoAble extends UserParent implements Serializable {
35
35
36
36
private static final long serialVersionUID = -7703830119762722918L ;
37
37
@ Id
@@ -43,7 +43,6 @@ public class UserInfoAble implements Serializable {
43
43
private String realname ;
44
44
private String qq ;
45
45
private String email ;
46
- private String address ;
47
46
private String tel ;
48
47
49
48
public Integer getId () {
@@ -103,15 +102,6 @@ public void setEmail(String email) {
103
102
this .email = email ;
104
103
}
105
104
106
- public String getAddress () {
107
- return address ;
108
- }
109
-
110
- @ Column (updatable = false )
111
- public void setAddress (String address ) {
112
- this .address = address ;
113
- }
114
-
115
105
public String getTel () {
116
106
return tel ;
117
107
}
@@ -130,7 +120,6 @@ public String toString() {
130
120
", realname='" + realname + '\'' +
131
121
", qq='" + qq + '\'' +
132
122
", email='" + email + '\'' +
133
- ", address='" + address + '\'' +
134
123
", tel='" + tel + '\'' +
135
124
'}' ;
136
125
}
Original file line number Diff line number Diff line change
1
+ package tk .mybatis .mapper .model ;
2
+
3
+ import javax .persistence .Column ;
4
+
5
+ /**
6
+ * @author liuzh_3nofxnp
7
+ * @since 2016-08-29 22:36
8
+ */
9
+ public class UserParent {
10
+
11
+ @ Column (updatable = false )
12
+ private String address ;
13
+
14
+ public String getAddress () {
15
+ return address ;
16
+ }
17
+
18
+ public void setAddress (String address ) {
19
+ this .address = address ;
20
+ }
21
+ }
You can’t perform that action at this time.
0 commit comments