You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
587 B
43 lines
587 B
package com.platform.test;
|
|
|
|
public class User {
|
|
private String name;
|
|
private int id;
|
|
private String sex;
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public int getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(int id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getSex() {
|
|
return sex;
|
|
}
|
|
|
|
public void setSex(String sex) {
|
|
this.sex = sex;
|
|
}
|
|
|
|
public User(String name, int id, String sex) {
|
|
super();
|
|
this.name = name;
|
|
this.id = id;
|
|
this.sex = sex;
|
|
}
|
|
|
|
public User(){
|
|
|
|
}
|
|
}
|