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

        Request request = (Request) o;

        if (entered != request.entered) return false;
        if (query != null ? !query.equals(request.query) : request.query != null) return false;

        return true;
    }