@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Room room = (Room) o;

        if (capacity != room.capacity) return false;
        if (number != room.number) return false;
        if (id != null ? !id.equals(room.id) : room.id != null) return false;
        if (pricePerDay != null ? !pricePerDay.equals(room.pricePerDay) : room.pricePerDay != null) return false;

        return true;
    }