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