Advertisement
Guest User

Untitled

a guest
May 23rd, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 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 mx.com.ws.model.ws.beans;
  7.  
  8. import java.io.Serializable;
  9.  
  10. /**
  11. *
  12. * @author 1067215
  13. */
  14. public class Client implements Serializable{
  15.  
  16. private static final long serialVersionUID = 1L;
  17.  
  18. private Long idClient;
  19. private String name;
  20.  
  21. public Client() {
  22. this(-1L, "");
  23. }
  24.  
  25.  
  26. public Client(Long idClient, String name) {
  27. this.idClient = idClient;
  28. this.name = name;
  29. }
  30.  
  31. public Long getIdClient() {
  32. return idClient;
  33. }
  34.  
  35. public void setIdClient(Long idClient) {
  36. this.idClient = idClient;
  37. }
  38.  
  39. public String getName() {
  40. return name;
  41. }
  42.  
  43. public void setName(String name) {
  44. this.name = name;
  45. }
  46.  
  47.  
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement