Guest User

Untitled

a guest
Apr 14th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. package edu.gatech.epidemics.viewmodel;
  2.  
  3. /**
  4. * @author atalati
  5. */
  6. public class Login {
  7. private String username;
  8. private String password;
  9.  
  10. public Login() {
  11. }
  12.  
  13. public Login(String username, String password) {
  14. this.username = username;
  15. this.password = password;
  16. }
  17.  
  18. public String getUsername() {
  19. return username;
  20. }
  21.  
  22. public void setUsername(String username) {
  23. this.username = username;
  24. }
  25.  
  26. public String getPassword() {
  27. return password;
  28. }
  29.  
  30. public void setPassword(String password) {
  31. this.password = password;
  32. }
  33.  
  34. @Override
  35. public String toString() {
  36. return "Login{" +
  37. "username='" + username + '\'' +
  38. ", password='" + password + '\'' +
  39. '}';
  40. }
  41. }
Add Comment
Please, Sign In to add comment