1+ package com .spy .mvc .mybatis .model ;
2+
3+ public class User {
4+ /**
5+ * This field was generated by MyBatis Generator.
6+ * This field corresponds to the database column user.id
7+ *
8+ * @mbggenerated Thu Oct 22 13:30:23 CST 2015
9+ */
10+ private Integer id ;
11+
12+ /**
13+ * This field was generated by MyBatis Generator.
14+ * This field corresponds to the database column user.name
15+ *
16+ * @mbggenerated Thu Oct 22 13:30:23 CST 2015
17+ */
18+ private String name ;
19+
20+ /**
21+ * This field was generated by MyBatis Generator.
22+ * This field corresponds to the database column user.user_code
23+ *
24+ * @mbggenerated Thu Oct 22 13:30:23 CST 2015
25+ */
26+ private String userCode ;
27+
28+ /**
29+ * This field was generated by MyBatis Generator.
30+ * This field corresponds to the database column user.password
31+ *
32+ * @mbggenerated Thu Oct 22 13:30:23 CST 2015
33+ */
34+ private String password ;
35+
36+ /**
37+ * This field was generated by MyBatis Generator.
38+ * This field corresponds to the database column user.age
39+ *
40+ * @mbggenerated Thu Oct 22 13:30:23 CST 2015
41+ */
42+ private Integer age ;
43+
44+ /**
45+ * This method was generated by MyBatis Generator.
46+ * This method returns the value of the database column user.id
47+ *
48+ * @return the value of user.id
49+ *
50+ * @mbggenerated Thu Oct 22 13:30:23 CST 2015
51+ */
52+ public Integer getId () {
53+ return id ;
54+ }
55+
56+ /**
57+ * This method was generated by MyBatis Generator.
58+ * This method sets the value of the database column user.id
59+ *
60+ * @param id the value for user.id
61+ *
62+ * @mbggenerated Thu Oct 22 13:30:23 CST 2015
63+ */
64+ public void setId (Integer id ) {
65+ this .id = id ;
66+ }
67+
68+ /**
69+ * This method was generated by MyBatis Generator.
70+ * This method returns the value of the database column user.name
71+ *
72+ * @return the value of user.name
73+ *
74+ * @mbggenerated Thu Oct 22 13:30:23 CST 2015
75+ */
76+ public String getName () {
77+ return name ;
78+ }
79+
80+ /**
81+ * This method was generated by MyBatis Generator.
82+ * This method sets the value of the database column user.name
83+ *
84+ * @param name the value for user.name
85+ *
86+ * @mbggenerated Thu Oct 22 13:30:23 CST 2015
87+ */
88+ public void setName (String name ) {
89+ this .name = name == null ? null : name .trim ();
90+ }
91+
92+ /**
93+ * This method was generated by MyBatis Generator.
94+ * This method returns the value of the database column user.user_code
95+ *
96+ * @return the value of user.user_code
97+ *
98+ * @mbggenerated Thu Oct 22 13:30:23 CST 2015
99+ */
100+ public String getUserCode () {
101+ return userCode ;
102+ }
103+
104+ /**
105+ * This method was generated by MyBatis Generator.
106+ * This method sets the value of the database column user.user_code
107+ *
108+ * @param userCode the value for user.user_code
109+ *
110+ * @mbggenerated Thu Oct 22 13:30:23 CST 2015
111+ */
112+ public void setUserCode (String userCode ) {
113+ this .userCode = userCode == null ? null : userCode .trim ();
114+ }
115+
116+ /**
117+ * This method was generated by MyBatis Generator.
118+ * This method returns the value of the database column user.password
119+ *
120+ * @return the value of user.password
121+ *
122+ * @mbggenerated Thu Oct 22 13:30:23 CST 2015
123+ */
124+ public String getPassword () {
125+ return password ;
126+ }
127+
128+ /**
129+ * This method was generated by MyBatis Generator.
130+ * This method sets the value of the database column user.password
131+ *
132+ * @param password the value for user.password
133+ *
134+ * @mbggenerated Thu Oct 22 13:30:23 CST 2015
135+ */
136+ public void setPassword (String password ) {
137+ this .password = password == null ? null : password .trim ();
138+ }
139+
140+ /**
141+ * This method was generated by MyBatis Generator.
142+ * This method returns the value of the database column user.age
143+ *
144+ * @return the value of user.age
145+ *
146+ * @mbggenerated Thu Oct 22 13:30:23 CST 2015
147+ */
148+ public Integer getAge () {
149+ return age ;
150+ }
151+
152+ /**
153+ * This method was generated by MyBatis Generator.
154+ * This method sets the value of the database column user.age
155+ *
156+ * @param age the value for user.age
157+ *
158+ * @mbggenerated Thu Oct 22 13:30:23 CST 2015
159+ */
160+ public void setAge (Integer age ) {
161+ this .age = age ;
162+ }
163+ }
0 commit comments