diff --git a/.github/assets/1.png b/.github/assets/1.png index d2e853b..90f7ba8 100644 Binary files a/.github/assets/1.png and b/.github/assets/1.png differ diff --git a/.github/assets/10.png b/.github/assets/10.png new file mode 100644 index 0000000..d09c8a7 Binary files /dev/null and b/.github/assets/10.png differ diff --git a/.github/assets/11.png b/.github/assets/11.png new file mode 100644 index 0000000..72c5dfa Binary files /dev/null and b/.github/assets/11.png differ diff --git a/.github/assets/9.png b/.github/assets/9.png index c0f39cb..7d592cb 100644 Binary files a/.github/assets/9.png and b/.github/assets/9.png differ diff --git a/.github/assets/tree.jpeg b/.github/assets/tree.jpeg deleted file mode 100644 index b07148d..0000000 Binary files a/.github/assets/tree.jpeg and /dev/null differ diff --git a/.github/assets/tree.png b/.github/assets/tree.png new file mode 100644 index 0000000..1718672 Binary files /dev/null and b/.github/assets/tree.png differ diff --git a/README.md b/README.md index 3843dd5..b455312 100644 --- a/README.md +++ b/README.md @@ -3,24 +3,14 @@ ## Requisitos de aceitação -- [X] Ao menos duas classes de modelo (com seus cadastros, páginas para editar e - remover); -- [X] Controller´s para manipular as requisições e armazenar os objetos na sessão - ou cookie a escolha sobre qual utilizar, fica a cargo do aluno/equipe; -- [X] Um servlet que exiba (em HTML) todos os objetos armazenados em memória - (relatório); -- [X] O site/sistema deve permitir o cadastro e listagem de múltiplos elementos (do - item 1) em memória (utilizando sessão ou cookies); -- [X] Os objetos devem possuir páginas separadas de cadastro; -- [X] Uma página (servlet) que exiba a quantidade de cada um dos itens - armazenados na memória (pode ser a mesma página do requisito 3). -- [X] Não devem ser utilizadas TAG´s JSP, arquivos - JSP devem ser utilizados como HTML) +- [X] Ao menos 3 cadastros completos (Listagem/Relatório, Cadastro, Edição, Remoção); +- [X] Deve-se utilizar banco de dados para a persistência dos dados, a escolha de qual banco, fica com a equipe, lembrando apenas que a mesma deve conhecer o banco utilizado, para responder eventuais questionamentos. +- [X] utilizar o padrão MVC ## Árvore do projeto
Id | " + - "Nome | " + - "Numero Candidato | " + - "Total de votos recebidos | " + - "
---|---|---|---|
" + candidato.getId() + " | " + - "" + candidato.getNome() + " | " + - "" + candidato.getNumeroCandidato() + " | " + - "" + totalVotosByCandidato(votos, candidato) + " | " + - "
Total registros: "+ candidatos.size() +" | \n" + - "
Id voto | " + - "Nome Candidato | " + - "Numero Candidato | " + - "
---|---|---|
" + voto.getId() + " | " + - "" + voto.getCandidato().getNome() + " | " + - "" + voto.getCandidato().getNumeroCandidato() + " | " + - "
Total registros: "+ votos.size() +" | \n" + - "
Id | +Nome | +Numero Candidato | ++ | + |
---|---|---|---|---|
<%= candidato.getId() %> | +<%= candidato.getNome() %> | +<%= candidato.getNumeroCandidato() %> | +class="fas fa-pencil-alt"> | +class="fas fa-trash-alt"> | +
Total registros:${ candidatos.size() } | +
Id | +Nome | +Cpf | +Numero telefone | ++ | + |
---|---|---|---|---|---|
<%= mesario.getId() %> | +<%= mesario.getNome() %> | +<%= mesario.getCpf() %> | +<%= mesario.getNumeroTelefone() %> | +class="fas fa-pencil-alt"> | +class="fas fa-trash-alt"> | +
Total registros:${ mesarios.size() } | +
Id | +Nome | +Cpf | +Numero telefone | +
---|---|---|---|
<%= mesario.getId() %> | +<%= mesario.getNome() %> | +<%= mesario.getCpf() %> | +<%= mesario.getNumeroTelefone() %> | +
Total registros:${ mesarios.size() } | +
Id | +Nome | +Numero Candidato | +Total de votos recebidos | +
---|---|---|---|
<%= candidato.getId() %> | +<%= candidato.getNome() %> | +<%= candidato.getNumeroCandidato() %> | +<%= votos.stream().filter(voto -> voto.getCandidato().getId().equals(candidato.getId())).count() %> | +
Total registros: ${candidatos.size()} | +
Id voto | +Nome Candidato | +Numero Candidato | +
---|---|---|
<%= voto.getId()%> | +<%= voto.getCandidato().getNome()%> | +<%= voto.getCandidato().getNumeroCandidato()%> | +
Total registros:${votos.size()} | +
Id voto | +Nome Candidato | +Numero Candidato | ++ | + |
---|---|---|---|---|
<%= voto.getId()%> + | +<%= voto.getCandidato().getNome()%> + | +<%= voto.getCandidato().getNumeroCandidato()%> + | +class="fas fa-pencil-alt"> | +class="fas fa-trash-alt"> | +
Total registros:${votos.size()} | +