Commit 1e9642ee authored by Zhang's avatar Zhang

Upload New File

parent 1ee12411
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 +
'}';
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment