Advertisement
Guest User

Untitled

a guest
Sep 4th, 2018
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. /*
  2. * To change this license header, choose License Headers in Project Properties.
  3. * To change this template file, choose Tools | Templates
  4. * and open the template in the editor.
  5. */
  6. package modelo;
  7.  
  8. /**
  9. *
  10. * @author duoc
  11. */
  12. public class Login {
  13. private String user;
  14. private String password;
  15.  
  16. public Login() {
  17. }
  18.  
  19. public Login(String user, String password) {
  20. this.user = user;
  21. this.password = password;
  22. }
  23.  
  24. public String getUser() {
  25. return user;
  26. }
  27.  
  28. public void setUser(String user) {
  29. this.user = user;
  30. }
  31.  
  32. public String getPassword() {
  33. return password;
  34. }
  35.  
  36. public void setPassword(String password) {
  37. this.password = password;
  38. }
  39.  
  40. @Override
  41. public String toString() {
  42. return "Login{" + "user=" + user + ", password=" + password + '}';
  43. }
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement