Ignore:
Timestamp:
01/10/25 19:07:51 (5 days ago)
Author:
Kristijan <kristijanzafirovski26@…>
Branches:
master
Children:
cd64b06
Parents:
53bad7e
Message:

Added details for magelan

File:
1 edited

Legend:

Unmodified
Added
Removed
  • backend/GlobeGuru-backend/src/main/java/Option.java

    r53bad7e r1c51912  
    88    private String link;
    99    private String imgSrc;
     10    private String type;
     11    private String board;
     12    private String amenities;
     13
    1014    private int numPeople;
    1115    //Price changing
     
    2630    }
    2731
     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
    2856    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);
    3058    }
    3159    public String getHotelName() {
Note: See TracChangeset for help on using the changeset viewer.