Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
760 B
1
Indexable
Never
public class User {
private String name;
private String membership;
private String password;

public User(String userName,String userMembership,String passWord){

    this.name = userName;
    this.membership = userMembership;
    this.password = passWord;

}

public String getUserName(){
    return name;

}

public String setUserName(String name){

this.name = name;
return name;

}

public String getPassWord(){
    return password;

}

public String setPassWord(String password){

    this.password = password;
return password;
}

public String getUserMembership(){

    return membership;

}

public String setUserMembership(String membership){

    this.membership= membership;
return membership;
}
    
}