Advertisement
muradul

Untitled

Oct 23rd, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. public class RestDealer implements Serializable {
  2.  
  3. private Integer id;
  4. private String dealerName;
  5. private String code;
  6.  
  7. public RestDealer(){}
  8. public RestDealer(Integer id, String dealerName) {
  9. this.id = id;
  10. this.dealerName = dealerName;
  11. }
  12.  
  13. public RestDealer(Integer id, String dealerName, String code) {
  14. this.id = id;
  15. this.dealerName = dealerName;
  16. this.code = code;
  17. }
  18.  
  19. public Integer getId() {
  20. return id;
  21. }
  22.  
  23. public void setId(Integer id) {
  24. this.id = id;
  25. }
  26.  
  27. public String getDealerName() {
  28. return dealerName;
  29. }
  30.  
  31. public void setDealerName(String dealerName) {
  32. this.dealerName = dealerName;
  33. }
  34.  
  35. public String getCode() {
  36. return code;
  37. }
  38.  
  39. public void setCode(String code) {
  40. this.code = code;
  41. }
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement