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.

22 lines
481 B

package Base;
public class User {
private String id;
private String password;
private String type;
public User(String id, String ps, String type) {
this.id = id;
this.password = ps;
this.type = type;
}
public String getUsername() { return id; }
public String getPassword() { return password; }
public String getUserType() { return type; }
public void change_type(String new_type){
this.type=new_type;
}
}