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.
jiedui/src/model/User.java

41 lines
838 B

package model;
import java.io.Serializable;
public class User implements Serializable {
private String email;
private String password;
private String registrationCode;
private boolean isRegistered;
public User(String email, String registrationCode) {
this.email = email;
this.registrationCode = registrationCode;
this.isRegistered = false;
this.password = null;
}
public String getEmail() {
return email;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getRegistrationCode() {
return registrationCode;
}
public boolean isRegistered() {
return isRegistered;
}
public void setRegistered(boolean registered) {
isRegistered = registered;
}
}