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