@Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Filial other = (Filial) obj;
        if (this.IdFilial != other.IdFilial && (this.IdFilial == null || !this.IdFilial.equals(other.IdFilial))) {
            return false;
        }
        return true;
    }