Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Hotel {
- private Integer id;
- private String name;
- private String description;
- private String address;
- private String phone;
- private String email;
- private Boolean freeWifi;
- private Boolean hasPool;
- public Integer getId() {
- return id;
- }
- public void setId(Integer id) {
- this.id = id;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- public String getDescription() {
- return description;
- }
- public void setDescription(String description) {
- this.description = description;
- }
- public String getAddress() {
- return address;
- }
- public void setAddress(String address) {
- this.address = address;
- }
- public String getPhone() {
- return phone;
- }
- public void setPhone(String phone) {
- this.phone = phone;
- }
- public String getEmail() {
- return email;
- }
- public void setEmail(String email) {
- this.email = email;
- }
- public Boolean getFreeWifi() {
- return freeWifi;
- }
- public void setFreeWifi(Boolean freeWifi) {
- this.freeWifi = freeWifi;
- }
- public Boolean getHasPool() {
- return hasPool;
- }
- public void setHasPool(Boolean hasPool) {
- this.hasPool = hasPool;
- }
- }
Add Comment
Please, Sign In to add comment