public boolean Apagar(Endereco obj){
        try{
            PreparedStatement comando = banco.getConexao()
                    .prepareStatement("UPDATE enderecos SET ativo = 0 WHERE id= ?");
            comando.setInt(1, obj.getId());
            comando.getConnection().commit();
            return true;
        }catch(SQLException ex){
            ex.printStackTrace();
            return false;
        }
    
    }