Created
December 13, 2018 15:11
-
-
Save eldermoraes/a37ff4cc3b982a45025631018e168fed 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
public class Auth { | |
private String login; | |
private String password; | |
private Date loginDate; | |
public Auth() { | |
} | |
public Auth(String login, String password) { | |
this.login = login; | |
this.password = password; | |
} | |
public Auth(String login, String password, Date loginDate) { | |
this.login = login; | |
this.password = password; | |
this.loginDate = loginDate; | |
} | |
public String getLogin() { | |
return login; | |
} | |
public void setLogin(String login) { | |
this.login = login; | |
} | |
public String getPassword() { | |
return password; | |
} | |
public void setPassword(String password) { | |
this.password = password; | |
} | |
public Date getLoginDate() { | |
return loginDate; | |
} | |
public void setLoginDate(Date loginDate) { | |
this.loginDate = loginDate; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment