Changeset 1c51912 for backend/GlobeGuru-backend/src/main/java/Option.java
- Timestamp:
- 01/10/25 19:07:51 (5 days ago)
- Branches:
- master
- Children:
- cd64b06
- Parents:
- 53bad7e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
backend/GlobeGuru-backend/src/main/java/Option.java
r53bad7e r1c51912 8 8 private String link; 9 9 private String imgSrc; 10 private String type; 11 private String board; 12 private String amenities; 13 10 14 private int numPeople; 11 15 //Price changing … … 26 30 } 27 31 32 public String getType() { 33 return type; 34 } 35 36 public void setType(String type) { 37 this.type = type; 38 } 39 40 public String getBoard() { 41 return board; 42 } 43 44 public void setBoard(String board) { 45 this.board = board; 46 } 47 48 public String getAmenities() { 49 return amenities; 50 } 51 52 public void setAmenities(String amenities) { 53 this.amenities = amenities; 54 } 55 28 56 public boolean isEmpty(){ 29 return (hotelName == null || country == null || price == 0 ||link == null || imgSrc == null);57 return (hotelName == null || country == null || link == null || imgSrc == null); 30 58 } 31 59 public String getHotelName() {
Note:
See TracChangeset
for help on using the changeset viewer.