@Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (null == obj) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        LinkDirectionCountry eq = (LinkDirectionCountry)obj;
        if (!super.equals(eq)){
            return false;
        }
        if(!Objects.equals(idDirection, eq.idDirection)) {
            return false;
        }
        if(!Objects.equals(idCountry, eq.idCountry)) {
            return false;
        }
        return true;
    }