Created
July 26, 2017 09:27
-
-
Save SakaDream/6ad510355408ac1a318ed5fbeea98ae1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.sakadream.jsf.bean; | |
/** | |
* Created by Phan Ba Hai on 17/07/2017. | |
*/ | |
public class User { | |
private int id; | |
private String username; | |
private String password; | |
public User() { | |
} | |
public User(String username, String password) { | |
this.username = username; | |
this.password = password; | |
} | |
public User(int id, String username, String password) { | |
this.id = id; | |
this.username = username; | |
this.password = password; | |
} | |
public int getId() { | |
return id; | |
} | |
public void setId(int id) { | |
this.id = id; | |
} | |
public String getUsername() { | |
return username; | |
} | |
public void setUsername(String username) { | |
this.username = username; | |
} | |
public String getPassword() { | |
return password; | |
} | |
public void setPassword(String password) { | |
this.password = password; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment