Guest User

Untitled

a guest
Jun 24th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. public class Hotel {
  2.  
  3. private Integer id;
  4. private String name;
  5. private String description;
  6. private String address;
  7. private String phone;
  8. private String email;
  9. private Boolean freeWifi;
  10. private Boolean hasPool;
  11.  
  12. public Integer getId() {
  13. return id;
  14. }
  15.  
  16. public void setId(Integer id) {
  17. this.id = id;
  18. }
  19.  
  20. public String getName() {
  21. return name;
  22. }
  23.  
  24. public void setName(String name) {
  25. this.name = name;
  26. }
  27.  
  28. public String getDescription() {
  29. return description;
  30. }
  31.  
  32. public void setDescription(String description) {
  33. this.description = description;
  34. }
  35.  
  36. public String getAddress() {
  37. return address;
  38. }
  39.  
  40. public void setAddress(String address) {
  41. this.address = address;
  42. }
  43.  
  44. public String getPhone() {
  45. return phone;
  46. }
  47.  
  48. public void setPhone(String phone) {
  49. this.phone = phone;
  50. }
  51.  
  52. public String getEmail() {
  53. return email;
  54. }
  55.  
  56. public void setEmail(String email) {
  57. this.email = email;
  58. }
  59.  
  60. public Boolean getFreeWifi() {
  61. return freeWifi;
  62. }
  63.  
  64. public void setFreeWifi(Boolean freeWifi) {
  65. this.freeWifi = freeWifi;
  66. }
  67.  
  68. public Boolean getHasPool() {
  69. return hasPool;
  70. }
  71.  
  72. public void setHasPool(Boolean hasPool) {
  73. this.hasPool = hasPool;
  74. }
  75. }
Add Comment
Please, Sign In to add comment