从零开始的体温app开发(bean2)
package bean;
public class User2 {
private String num;
private String name;
private String cl;
private String phone;
public User2() {
}
public User2(String num, String name, String cl, String phone) {
this.name=name;
this.num=num;
this.cl=cl;
this.phone=phone;
}
public String getNum() {
return num;
}
public void setNum(String num) {
this.num = num;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getCl() {
return cl;
}
public void setCl(String cl) {
this.cl = cl;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
}