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

        RelationshipInterestsEntity that = (RelationshipInterestsEntity) o;

        if (interestsId != that.interestsId) return false;
        if (interestId != null ? !interestId.equals(that.interestId) : that.interestId != null) return false;
        if (parishionerId != null ? !parishionerId.equals(that.parishionerId) : that.parishionerId != null)
            return false;

        return true;
    }