Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
MybatisTraning
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
zero
MybatisTraning
Commits
1e9642ee
Commit
1e9642ee
authored
Dec 11, 2019
by
Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
1ee12411
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
0 deletions
+46
-0
User.java
张志墙_Mybatis1/src/main/java/com/mybatis/model/User.java
+46
-0
No files found.
张志墙_Mybatis1/src/main/java/com/mybatis/model/User.java
0 → 100644
View file @
1e9642ee
package
com
.
mybatis
.
model
;
package
com
.
mybatis
.
model
;
public
class
User
{
String
name
;
String
sex
;
Context
hobby
;
public
User
(
String
name
,
String
sex
,
Context
hobby
){
this
.
name
=
name
;
this
.
sex
=
sex
;
this
.
hobby
=
hobby
;
}
public
String
getName
()
{
return
name
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
public
String
getSex
()
{
return
sex
;
}
public
void
setSex
(
String
sex
)
{
this
.
sex
=
sex
;
}
public
Context
getHobby
()
{
return
hobby
;
}
public
void
setHobby
(
Context
hobby
)
{
this
.
hobby
=
hobby
;
}
@Override
public
String
toString
()
{
return
"User{"
+
"name='"
+
name
+
'\''
+
", sex="
+
sex
+
", hobby="
+
hobby
+
'}'
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment