public function alterarUsuario()
 {
     $sql = "INSERT INTO `locadora`.`usuario` (`usuario`, `senha`) \r\n                        VALUES ('{$this->login}', '{$this->senha}');";
     return $dados = ConexaoBD::alterar($sql);
 }
 public function alterarFilmes()
 {
     $sql = "UPDATE `locadora`.`filme` SET\r\n\t`Titulo` = '{$this->titulo}', `Genero` = '{$this->genero}', `Estoque` = '{$this->estoque}', `Midia` = '{$this->midia}', `Status` = '{$this->status}' WHERE `idFilme` = '{$this->idFilme}'";
     ConexaoBD::alterar($sql);
 }
 public function alterarCliente()
 {
     $sql = "UPDATE locadora.cliente\r\n\t\t\tSET\r\n\t\t\t\tNome = '{$this->nome}',\r\n\t\t\t\tEndereco = '{$this->endereco}',\r\n                                Telefone = '{$this->telefone}',\r\n\t\t\t\tEmail = '{$this->email}',\r\n                                Cep = '{$this->cep}',\r\n                                Nascimento = '{$this->nascimento}'\r\n                                    \r\n\t\t\tWHERE idCliente = {$this->idCliente}";
     ConexaoBD::alterar($sql);
 }