@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof Question)) return false;

        Question question = (Question) o;

        if (answers != null ? !answers.equals(question.answers) : question.answers != null) return false;
        if (text != null ? !text.equals(question.text) : question.text != null) return false;

        return true;
    }