@Override
    public int hashCode() {
        int result = idPost;
        result = 31 * result + userId;
        result = 31 * result + (description != null ? description.hashCode() : 0);
        result = 31 * result + (title != null ? title.hashCode() : 0);
        result = 31 * result + threadId;
        return result;
    }