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.
48 lines
1002 B
48 lines
1002 B
package com.example.Cat.entity;
|
|
|
|
public class UserInfo {
|
|
int id;
|
|
String username;
|
|
String paswd, sex;
|
|
String city;
|
|
public UserInfo(int id,String username, String paswd, String sex, String city){
|
|
this.id=id;
|
|
this.username = username;
|
|
this.paswd = paswd;
|
|
this.sex = sex;
|
|
this.city = city;
|
|
}
|
|
public void setId(int id) {
|
|
this.id = id;
|
|
}
|
|
public void setUsername(String username) {
|
|
this.username = username;
|
|
}
|
|
public void setPaswd(String paswd) {
|
|
this.paswd = paswd;
|
|
}
|
|
public void setSex(String sex) {
|
|
this.sex = sex;
|
|
}
|
|
public void setCity(String city) {
|
|
this.city = city;
|
|
}
|
|
public int getId() {
|
|
return id;
|
|
}
|
|
public String getUsername() {
|
|
return username;
|
|
}
|
|
public String getPaswd() {
|
|
return paswd;
|
|
}
|
|
public String getSex() {
|
|
return sex;
|
|
}
|
|
public String getCity() {
|
|
return city;
|
|
}
|
|
|
|
}
|
|
|