Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Commit

Permalink
Refactor nas Classes (#8) (#9)
Browse files Browse the repository at this point in the history
* feat: add estrutura básica login page

Adicionar estrutura básica

* refactor: upd atributo "professor" classe "Avaliacao"

Alterar atributo "professor" para "materia".
Tendo em vista que o aluno será avaliado por matéria

* feat: add classe "Feedback"

Adicionar classe Feedback.
Cuja será usada para que os alunos avaliem cursos, turmas, matérias, aulas e etc

* Estrutura

estrutura

* Controllers, Services e Repositorys, estruturando classes

* refactor: upd base front-end

Adiciona dependência do JQuery e Bootstrap

* Squashed commit of the following:

commit f176d36
Merge: 8a810a1 510d2af
Author: lucas0headshot <[email protected]>
Date:   Wed Mar 6 23:22:59 2024 -0300

    Merge branch 'main' into dev

commit 510d2af
Author: lucas0headshot <[email protected]>
Date:   Wed Mar 6 23:21:57 2024 -0300

    fix: del artefato "<<<<" na classe Funcionario

    Remover artefato do comentário gerado pelo Git ao tentar resolver conflito de merge

commit 8a810a1
Merge: b2a9439 fdffa05
Author: Lucas Ronchi <[email protected]>
Date:   Sun Mar 3 19:30:13 2024 -0300

    Merge pull request #4 from lucas0headshot/gabriel

    Estrutura

commit fdffa05
Author: Carrerogabriel <[email protected]>
Date:   Sun Mar 3 19:15:53 2024 -0300

    Controllers, Services e Repositorys, estruturando classes

commit a34519f
Author: Carrerogabriel <[email protected]>
Date:   Sun Mar 3 19:12:55 2024 -0300

    Estrutura

    estrutura

commit c14cc40
Author: lucas0headshot <[email protected]>
Date:   Sun Mar 3 02:47:29 2024 -0300

    doc: upd GS_SENAC.zip

    Atualizar diagrama de classes

commit 14afd08
Author: lucas0headshot <[email protected]>
Date:   Sun Mar 3 02:21:04 2024 -0300

    docs: upd README

    Renomear seção "Authores" -> "Autores", pequena correção ortográfica

commit 9254031
Author: lucas0headshot <[email protected]>
Date:   Sun Mar 3 02:19:57 2024 -0300

    docs: upd README

    Remover nomes tecnologias & renomear seção "Contribuidores" -> "Autores"

commit 4dd54ba
Author: lucas0headshot <[email protected]>
Date:   Sun Mar 3 02:16:25 2024 -0300

    docs: upd README

    Atualizar README raiz

commit 156f3ef
Author: lucas0headshot <[email protected]>
Date:   Sat Mar 2 22:54:34 2024 -0300

    raw: add pull_request_template.md

    Adicionar arquivo de template e configuração p/ Pull Request

commit b634660
Author: lucas0headshot <[email protected]>
Date:   Sat Mar 2 22:53:56 2024 -0300

    raw: del pasta .idea

    Remover pasta .idea na raiz do repositório

* refactor: upd HTML, CSS & JS da Login-Page

* refactor: upd login-page

Alterar HTML, CSS e JS da login-page

* feat: add e upd anotações classes

Adicionar e atualizar anotações nas classes Curso, Funcionario, Materia e Turma

* feat: add classe Chamada

Adicionar classe Chamada

* Squashed commit of the following:

commit 2a45ce7
Author: lucas0headshot <[email protected]>
Date:   Mon Mar 11 21:23:39 2024 -0300

    feat: add classe Chamada

    Adicionar classe Chamada

commit 86a708b
Author: lucas0headshot <[email protected]>
Date:   Mon Mar 11 21:23:18 2024 -0300

    feat: add e upd anotações classes

    Adicionar e atualizar anotações nas classes Curso, Funcionario, Materia e Turma

commit 46a7a25
Author: lucas0headshot <[email protected]>
Date:   Fri Mar 8 00:58:19 2024 -0300

    refactor: upd login-page

    Alterar HTML, CSS e JS da login-page

commit 4608b21
Author: lucas0headshot <[email protected]>
Date:   Thu Mar 7 00:38:02 2024 -0300

    refactor: upd HTML, CSS & JS da Login-Page

commit c9f0bdf
Author: lucas0headshot <[email protected]>
Date:   Wed Mar 6 23:23:45 2024 -0300

    Squashed commit of the following:

    commit f176d36
    Merge: 8a810a1 510d2af
    Author: lucas0headshot <[email protected]>
    Date:   Wed Mar 6 23:22:59 2024 -0300

        Merge branch 'main' into dev

    commit 510d2af
    Author: lucas0headshot <[email protected]>
    Date:   Wed Mar 6 23:21:57 2024 -0300

        fix: del artefato "<<<<" na classe Funcionario

        Remover artefato do comentário gerado pelo Git ao tentar resolver conflito de merge

    commit 8a810a1
    Merge: b2a9439 fdffa05
    Author: Lucas Ronchi <[email protected]>
    Date:   Sun Mar 3 19:30:13 2024 -0300

        Merge pull request #4 from lucas0headshot/gabriel

        Estrutura

    commit fdffa05
    Author: Carrerogabriel <[email protected]>
    Date:   Sun Mar 3 19:15:53 2024 -0300

        Controllers, Services e Repositorys, estruturando classes

    commit a34519f
    Author: Carrerogabriel <[email protected]>
    Date:   Sun Mar 3 19:12:55 2024 -0300

        Estrutura

        estrutura

    commit c14cc40
    Author: lucas0headshot <[email protected]>
    Date:   Sun Mar 3 02:47:29 2024 -0300

        doc: upd GS_SENAC.zip

        Atualizar diagrama de classes

    commit 14afd08
    Author: lucas0headshot <[email protected]>
    Date:   Sun Mar 3 02:21:04 2024 -0300

        docs: upd README

        Renomear seção "Authores" -> "Autores", pequena correção ortográfica

    commit 9254031
    Author: lucas0headshot <[email protected]>
    Date:   Sun Mar 3 02:19:57 2024 -0300

        docs: upd README

        Remover nomes tecnologias & renomear seção "Contribuidores" -> "Autores"

    commit 4dd54ba
    Author: lucas0headshot <[email protected]>
    Date:   Sun Mar 3 02:16:25 2024 -0300

        docs: upd README

        Atualizar README raiz

    commit 156f3ef
    Author: lucas0headshot <[email protected]>
    Date:   Sat Mar 2 22:54:34 2024 -0300

        raw: add pull_request_template.md

        Adicionar arquivo de template e configuração p/ Pull Request

    commit b634660
    Author: lucas0headshot <[email protected]>
    Date:   Sat Mar 2 22:53:56 2024 -0300

        raw: del pasta .idea

        Remover pasta .idea na raiz do repositório

commit c002257
Author: lucas0headshot <[email protected]>
Date:   Mon Mar 4 21:48:30 2024 -0300

    refactor: upd base front-end

    Adiciona dependência do JQuery e Bootstrap

commit 809fa04
Author: lucas0headshot <[email protected]>
Date:   Sun Mar 3 03:02:20 2024 -0300

    feat: add classe "Feedback"

    Adicionar classe Feedback.
    Cuja será usada para que os alunos avaliem cursos, turmas, matérias, aulas e etc

commit b6c4cbb
Author: lucas0headshot <[email protected]>
Date:   Sun Mar 3 03:01:30 2024 -0300

    refactor: upd atributo "professor" classe "Avaliacao"

    Alterar atributo "professor" para "materia".
    Tendo em vista que o aluno será avaliado por matéria

commit 0b0e9dc
Merge: 1e94fc7 b2a9439
Author: lucas0headshot <[email protected]>
Date:   Sat Mar 2 18:49:21 2024 -0300

    Merge branch 'main' into lucas

commit 1e94fc7
Author: lucas0headshot <[email protected]>
Date:   Fri Mar 1 21:57:30 2024 -0300

    feat: add estrutura básica login page

    Adicionar estrutura básica

* fix: exception JDBCType ao tentar Buildar

* fix: add anotação à classe Funcionário

* fix: upd anotações p/ resolver bug "JDBCTypeException"

Atualizar e anotar todas as Classes presentes no projeto

* Squashed commit of the following:

commit ada4871
Author: lucas0headshot <[email protected]>
Date:   Mon Mar 18 23:47:45 2024 -0300

    fix: upd anotações p/ resolver bug "JDBCTypeException"

    Atualizar e anotar todas as Classes presentes no projeto

commit 3735817
Author: lucas0headshot <[email protected]>
Date:   Mon Mar 18 00:40:58 2024 -0300

    fix: exception JDBCType ao tentar Buildar

commit 2a45ce7
Author: lucas0headshot <[email protected]>
Date:   Mon Mar 11 21:23:39 2024 -0300

    feat: add classe Chamada

    Adicionar classe Chamada

commit 86a708b
Author: lucas0headshot <[email protected]>
Date:   Mon Mar 11 21:23:18 2024 -0300

    feat: add e upd anotações classes

    Adicionar e atualizar anotações nas classes Curso, Funcionario, Materia e Turma

commit 46a7a25
Author: lucas0headshot <[email protected]>
Date:   Fri Mar 8 00:58:19 2024 -0300

    refactor: upd login-page

    Alterar HTML, CSS e JS da login-page

commit 4608b21
Author: lucas0headshot <[email protected]>
Date:   Thu Mar 7 00:38:02 2024 -0300

    refactor: upd HTML, CSS & JS da Login-Page

commit c9f0bdf
Author: lucas0headshot <[email protected]>
Date:   Wed Mar 6 23:23:45 2024 -0300

    Squashed commit of the following:

    commit f176d36
    Merge: 8a810a1 510d2af
    Author: lucas0headshot <[email protected]>
    Date:   Wed Mar 6 23:22:59 2024 -0300

        Merge branch 'main' into dev

    commit 510d2af
    Author: lucas0headshot <[email protected]>
    Date:   Wed Mar 6 23:21:57 2024 -0300

        fix: del artefato "<<<<" na classe Funcionario

        Remover artefato do comentário gerado pelo Git ao tentar resolver conflito de merge

    commit 8a810a1
    Merge: b2a9439 fdffa05
    Author: Lucas Ronchi <[email protected]>
    Date:   Sun Mar 3 19:30:13 2024 -0300

        Merge pull request #4 from lucas0headshot/gabriel

        Estrutura

    commit fdffa05
    Author: Carrerogabriel <[email protected]>
    Date:   Sun Mar 3 19:15:53 2024 -0300

        Controllers, Services e Repositorys, estruturando classes

    commit a34519f
    Author: Carrerogabriel <[email protected]>
    Date:   Sun Mar 3 19:12:55 2024 -0300

        Estrutura

        estrutura

    commit c14cc40
    Author: lucas0headshot <[email protected]>
    Date:   Sun Mar 3 02:47:29 2024 -0300

        doc: upd GS_SENAC.zip

        Atualizar diagrama de classes

    commit 14afd08
    Author: lucas0headshot <[email protected]>
    Date:   Sun Mar 3 02:21:04 2024 -0300

        docs: upd README

        Renomear seção "Authores" -> "Autores", pequena correção ortográfica

    commit 9254031
    Author: lucas0headshot <[email protected]>
    Date:   Sun Mar 3 02:19:57 2024 -0300

        docs: upd README

        Remover nomes tecnologias & renomear seção "Contribuidores" -> "Autores"

    commit 4dd54ba
    Author: lucas0headshot <[email protected]>
    Date:   Sun Mar 3 02:16:25 2024 -0300

        docs: upd README

        Atualizar README raiz

    commit 156f3ef
    Author: lucas0headshot <[email protected]>
    Date:   Sat Mar 2 22:54:34 2024 -0300

        raw: add pull_request_template.md

        Adicionar arquivo de template e configuração p/ Pull Request

    commit b634660
    Author: lucas0headshot <[email protected]>
    Date:   Sat Mar 2 22:53:56 2024 -0300

        raw: del pasta .idea

        Remover pasta .idea na raiz do repositório

commit c002257
Author: lucas0headshot <[email protected]>
Date:   Mon Mar 4 21:48:30 2024 -0300

    refactor: upd base front-end

    Adiciona dependência do JQuery e Bootstrap

commit 809fa04
Author: lucas0headshot <[email protected]>
Date:   Sun Mar 3 03:02:20 2024 -0300

    feat: add classe "Feedback"

    Adicionar classe Feedback.
    Cuja será usada para que os alunos avaliem cursos, turmas, matérias, aulas e etc

commit b6c4cbb
Author: lucas0headshot <[email protected]>
Date:   Sun Mar 3 03:01:30 2024 -0300

    refactor: upd atributo "professor" classe "Avaliacao"

    Alterar atributo "professor" para "materia".
    Tendo em vista que o aluno será avaliado por matéria

commit 0b0e9dc
Merge: 1e94fc7 b2a9439
Author: lucas0headshot <[email protected]>
Date:   Sat Mar 2 18:49:21 2024 -0300

    Merge branch 'main' into lucas

commit 1e94fc7
Author: lucas0headshot <[email protected]>
Date:   Fri Mar 1 21:57:30 2024 -0300

    feat: add estrutura básica login page

    Adicionar estrutura básica

* build: upd versão Java no pom.xml

Atualizar do Java 17 pro 21

* Squashed commit of the following:

commit 8de12a9
Author: lucas0headshot <[email protected]>
Date:   Tue Mar 19 00:27:42 2024 -0300

    build: upd versão Java no pom.xml

    Atualizar do Java 17 pro 21

commit ada4871
Author: lucas0headshot <[email protected]>
Date:   Mon Mar 18 23:47:45 2024 -0300

    fix: upd anotações p/ resolver bug "JDBCTypeException"

    Atualizar e anotar todas as Classes presentes no projeto

commit 3735817
Author: lucas0headshot <[email protected]>
Date:   Mon Mar 18 00:40:58 2024 -0300

    fix: exception JDBCType ao tentar Buildar

commit 2a45ce7
Author: lucas0headshot <[email protected]>
Date:   Mon Mar 11 21:23:39 2024 -0300

    feat: add classe Chamada

    Adicionar classe Chamada

commit 86a708b
Author: lucas0headshot <[email protected]>
Date:   Mon Mar 11 21:23:18 2024 -0300

    feat: add e upd anotações classes

    Adicionar e atualizar anotações nas classes Curso, Funcionario, Materia e Turma

commit 46a7a25
Author: lucas0headshot <[email protected]>
Date:   Fri Mar 8 00:58:19 2024 -0300

    refactor: upd login-page

    Alterar HTML, CSS e JS da login-page

commit 4608b21
Author: lucas0headshot <[email protected]>
Date:   Thu Mar 7 00:38:02 2024 -0300

    refactor: upd HTML, CSS & JS da Login-Page

commit c9f0bdf
Author: lucas0headshot <[email protected]>
Date:   Wed Mar 6 23:23:45 2024 -0300

    Squashed commit of the following:

    commit f176d36
    Merge: 8a810a1 510d2af
    Author: lucas0headshot <[email protected]>
    Date:   Wed Mar 6 23:22:59 2024 -0300

        Merge branch 'main' into dev

    commit 510d2af
    Author: lucas0headshot <[email protected]>
    Date:   Wed Mar 6 23:21:57 2024 -0300

        fix: del artefato "<<<<" na classe Funcionario

        Remover artefato do comentário gerado pelo Git ao tentar resolver conflito de merge

    commit 8a810a1
    Merge: b2a9439 fdffa05
    Author: Lucas Ronchi <[email protected]>
    Date:   Sun Mar 3 19:30:13 2024 -0300

        Merge pull request #4 from lucas0headshot/gabriel

        Estrutura

    commit fdffa05
    Author: Carrerogabriel <[email protected]>
    Date:   Sun Mar 3 19:15:53 2024 -0300

        Controllers, Services e Repositorys, estruturando classes

    commit a34519f
    Author: Carrerogabriel <[email protected]>
    Date:   Sun Mar 3 19:12:55 2024 -0300

        Estrutura

        estrutura

    commit c14cc40
    Author: lucas0headshot <[email protected]>
    Date:   Sun Mar 3 02:47:29 2024 -0300

        doc: upd GS_SENAC.zip

        Atualizar diagrama de classes

    commit 14afd08
    Author: lucas0headshot <[email protected]>
    Date:   Sun Mar 3 02:21:04 2024 -0300

        docs: upd README

        Renomear seção "Authores" -> "Autores", pequena correção ortográfica

    commit 9254031
    Author: lucas0headshot <[email protected]>
    Date:   Sun Mar 3 02:19:57 2024 -0300

        docs: upd README

        Remover nomes tecnologias & renomear seção "Contribuidores" -> "Autores"

    commit 4dd54ba
    Author: lucas0headshot <[email protected]>
    Date:   Sun Mar 3 02:16:25 2024 -0300

        docs: upd README

        Atualizar README raiz

    commit 156f3ef
    Author: lucas0headshot <[email protected]>
    Date:   Sat Mar 2 22:54:34 2024 -0300

        raw: add pull_request_template.md

        Adicionar arquivo de template e configuração p/ Pull Request

    commit b634660
    Author: lucas0headshot <[email protected]>
    Date:   Sat Mar 2 22:53:56 2024 -0300

        raw: del pasta .idea

        Remover pasta .idea na raiz do repositório

commit c002257
Author: lucas0headshot <[email protected]>
Date:   Mon Mar 4 21:48:30 2024 -0300

    refactor: upd base front-end

    Adiciona dependência do JQuery e Bootstrap

commit 809fa04
Author: lucas0headshot <[email protected]>
Date:   Sun Mar 3 03:02:20 2024 -0300

    feat: add classe "Feedback"

    Adicionar classe Feedback.
    Cuja será usada para que os alunos avaliem cursos, turmas, matérias, aulas e etc

commit b6c4cbb
Author: lucas0headshot <[email protected]>
Date:   Sun Mar 3 03:01:30 2024 -0300

    refactor: upd atributo "professor" classe "Avaliacao"

    Alterar atributo "professor" para "materia".
    Tendo em vista que o aluno será avaliado por matéria

commit 0b0e9dc
Merge: 1e94fc7 b2a9439
Author: lucas0headshot <[email protected]>
Date:   Sat Mar 2 18:49:21 2024 -0300

    Merge branch 'main' into lucas

commit 1e94fc7
Author: lucas0headshot <[email protected]>
Date:   Fri Mar 1 21:57:30 2024 -0300

    feat: add estrutura básica login page

    Adicionar estrutura básica

* chore: add schema.sql

Adicionar schema.sql

* feat: paginação da requisição de listar todas as aulas

* feat: paginação da requisição de listar todos os cargos

* feat: implementando RequestMapping

* fix: arrumando rota do RequestMapping

* fix: arrumando rota do ResponseEntity dentro do postMapping

* feat: implementando metodo de alterar avaliacao e metodo de paginação

* feat: implementando paginação e alterando rota no ResponseEntity do postMapping

* feat: implementando função de paginação

* Squashed commit of the following:

commit 5cd3128
Author: JuannCarloss <[email protected]>
Date:   Tue Mar 19 23:29:37 2024 -0300

    feat: implementando função de paginação

commit 632e932
Author: JuannCarloss <[email protected]>
Date:   Tue Mar 19 22:54:18 2024 -0300

    feat: implementando paginação e alterando rota no ResponseEntity do postMapping

commit 9d4784a
Author: JuannCarloss <[email protected]>
Date:   Tue Mar 19 22:53:27 2024 -0300

    feat: implementando metodo de alterar avaliacao e metodo de paginação

commit 1056455
Author: JuannCarloss <[email protected]>
Date:   Tue Mar 19 22:46:55 2024 -0300

    fix: arrumando rota do ResponseEntity dentro do postMapping

commit 4d23b91
Author: JuannCarloss <[email protected]>
Date:   Tue Mar 19 22:46:17 2024 -0300

    fix: arrumando rota do RequestMapping

commit c93f2f9
Author: JuannCarloss <[email protected]>
Date:   Tue Mar 19 22:45:43 2024 -0300

    feat: implementando RequestMapping

commit d85eaf3
Author: JuannCarloss <[email protected]>
Date:   Tue Mar 19 22:45:09 2024 -0300

    feat: paginação da requisição de listar todos os cargos

commit 1dba965
Author: JuannCarloss <[email protected]>
Date:   Tue Mar 19 22:44:38 2024 -0300

    feat: paginação da requisição de listar todas as aulas

commit c6475f1
Author: lucas0headshot <[email protected]>
Date:   Tue Mar 19 00:28:54 2024 -0300

    Squashed commit of the following:

    commit 8de12a9
    Author: lucas0headshot <[email protected]>
    Date:   Tue Mar 19 00:27:42 2024 -0300

        build: upd versão Java no pom.xml

        Atualizar do Java 17 pro 21

    commit ada4871
    Author: lucas0headshot <[email protected]>
    Date:   Mon Mar 18 23:47:45 2024 -0300

        fix: upd anotações p/ resolver bug "JDBCTypeException"

        Atualizar e anotar todas as Classes presentes no projeto

    commit 3735817
    Author: lucas0headshot <[email protected]>
    Date:   Mon Mar 18 00:40:58 2024 -0300

        fix: exception JDBCType ao tentar Buildar

    commit 2a45ce7
    Author: lucas0headshot <[email protected]>
    Date:   Mon Mar 11 21:23:39 2024 -0300

        feat: add classe Chamada

        Adicionar classe Chamada

    commit 86a708b
    Author: lucas0headshot <[email protected]>
    Date:   Mon Mar 11 21:23:18 2024 -0300

        feat: add e upd anotações classes

        Adicionar e atualizar anotações nas classes Curso, Funcionario, Materia e Turma

    commit 46a7a25
    Author: lucas0headshot <[email protected]>
    Date:   Fri Mar 8 00:58:19 2024 -0300

        refactor: upd login-page

        Alterar HTML, CSS e JS da login-page

    commit 4608b21
    Author: lucas0headshot <[email protected]>
    Date:   Thu Mar 7 00:38:02 2024 -0300

        refactor: upd HTML, CSS & JS da Login-Page

    commit c9f0bdf
    Author: lucas0headshot <[email protected]>
    Date:   Wed Mar 6 23:23:45 2024 -0300

        Squashed commit of the following:

        commit f176d36
        Merge: 8a810a1 510d2af
        Author: lucas0headshot <[email protected]>
        Date:   Wed Mar 6 23:22:59 2024 -0300

            Merge branch 'main' into dev

        commit 510d2af
        Author: lucas0headshot <[email protected]>
        Date:   Wed Mar 6 23:21:57 2024 -0300

            fix: del artefato "<<<<" na classe Funcionario

            Remover artefato do comentário gerado pelo Git ao tentar resolver conflito de merge

        commit 8a810a1
        Merge: b2a9439 fdffa05
        Author: Lucas Ronchi <[email protected]>
        Date:   Sun Mar 3 19:30:13 2024 -0300

            Merge pull request #4 from lucas0headshot/gabriel

            Estrutura

        commit fdffa05
        Author: Carrerogabriel <[email protected]>
        Date:   Sun Mar 3 19:15:53 2024 -0300

            Controllers, Services e Repositorys, estruturando classes

        commit a34519f
        Author: Carrerogabriel <[email protected]>
        Date:   Sun Mar 3 19:12:55 2024 -0300

            Estrutura

            estrutura

        commit c14cc40
        Author: lucas0headshot <[email protected]>
        Date:   Sun Mar 3 02:47:29 2024 -0300

            doc: upd GS_SENAC.zip

            Atualizar diagrama de classes

        commit 14afd08
        Author: lucas0headshot <[email protected]>
        Date:   Sun Mar 3 02:21:04 2024 -0300

            docs: upd README

            Renomear seção "Authores" -> "Autores", pequena correção ortográfica

        commit 9254031
        Author: lucas0headshot <[email protected]>
        Date:   Sun Mar 3 02:19:57 2024 -0300

            docs: upd README

            Remover nomes tecnologias & renomear seção "Contribuidores" -> "Autores"

        commit 4dd54ba
        Author: lucas0headshot <[email protected]>
        Date:   Sun Mar 3 02:16:25 2024 -0300

            docs: upd README

            Atualizar README raiz

        commit 156f3ef
        Author: lucas0headshot <[email protected]>
        Date:   Sat Mar 2 22:54:34 2024 -0300

            raw: add pull_request_template.md

            Adicionar arquivo de template e configuração p/ Pull Request

        commit b634660
        Author: lucas0headshot <[email protected]>
        Date:   Sat Mar 2 22:53:56 2024 -0300

            raw: del pasta .idea

            Remover pasta .idea na raiz do repositório

    commit c002257
    Author: lucas0headshot <[email protected]>
    Date:   Mon Mar 4 21:48:30 2024 -0300

        refactor: upd base front-end

        Adiciona dependência do JQuery e Bootstrap

    commit 809fa04
    Author: lucas0headshot <[email protected]>
    Date:   Sun Mar 3 03:02:20 2024 -0300

        feat: add classe "Feedback"

        Adicionar classe Feedback.
        Cuja será usada para que os alunos avaliem cursos, turmas, matérias, aulas e etc

    commit b6c4cbb
    Author: lucas0headshot <[email protected]>
    Date:   Sun Mar 3 03:01:30 2024 -0300

        refactor: upd atributo "professor" classe "Avaliacao"

        Alterar atributo "professor" para "materia".
        Tendo em vista que o aluno será avaliado por matéria

    commit 0b0e9dc
    Merge: 1e94fc7 b2a9439
    Author: lucas0headshot <[email protected]>
    Date:   Sat Mar 2 18:49:21 2024 -0300

        Merge branch 'main' into lucas

    commit 1e94fc7
    Author: lucas0headshot <[email protected]>
    Date:   Fri Mar 1 21:57:30 2024 -0300

        feat: add estrutura básica login page

        Adicionar estrutura básica

commit bc9abe4
Author: lucas0headshot <[email protected]>
Date:   Mon Mar 18 23:49:50 2024 -0300

    Squashed commit of the following:

    commit ada4871
    Author: lucas0headshot <[email protected]>
    Date:   Mon Mar 18 23:47:45 2024 -0300

        fix: upd anotações p/ resolver bug "JDBCTypeException"

        Atualizar e anotar todas as Classes presentes no projeto

    commit 3735817
    Author: lucas0headshot <[email protected]>
    Date:   Mon Mar 18 00:40:58 2024 -0300

        fix: exception JDBCType ao tentar Buildar

    commit 2a45ce7
    Author: lucas0headshot <[email protected]>
    Date:   Mon Mar 11 21:23:39 2024 -0300

        feat: add classe Chamada

        Adicionar classe Chamada

    commit 86a708b
    Author: lucas0headshot <[email protected]>
    Date:   Mon Mar 11 21:23:18 2024 -0300

        feat: add e upd anotações classes

        Adicionar e atualizar anotações nas classes Curso, Funcionario, Materia e Turma

    commit 46a7a25
    Author: lucas0headshot <[email protected]>
    Date:   Fri Mar 8 00:58:19 2024 -0300

        refactor: upd login-page

        Alterar HTML, CSS e JS da login-page

    commit 4608b21
    Author: lucas0headshot <[email protected]>
    Date:   Thu Mar 7 00:38:02 2024 -0300

        refactor: upd HTML, CSS & JS da Login-Page

    commit c9f0bdf
    Author: lucas0headshot <[email protected]>
    Date:   Wed Mar 6 23:23:45 2024 -0300

        Squashed commit of the following:

        commit f176d36
        Merge: 8a810a1 510d2af
        Author: lucas0headshot <[email protected]>
        Date:   Wed Mar 6 23:22:59 2024 -0300

            Merge branch 'main' into dev

        commit 510d2af
        Author: lucas0headshot <[email protected]>
        Date:   Wed Mar 6 23:21:57 2024 -0300

            fix: del artefato "<<<<" na classe Funcionario

            Remover artefato do comentário gerado pelo Git ao tentar resolver conflito de merge

        commit 8a810a1
        Merge: b2a9439 fdffa05
        Author: Lucas Ronchi <[email protected]>
        Date:   Sun Mar 3 19:30:13 2024 -0300

            Merge pull request #4 from lucas0headshot/gabriel

            Estrutura

        commit fdffa05
        Author: Carrerogabriel <[email protected]>
        Date:   Sun Mar 3 19:15:53 2024 -0300

            Controllers, Services e Repositorys, estruturando classes

        commit a34519f
        Author: Carrerogabriel <[email protected]>
        Date:   Sun Mar 3 19:12:55 2024 -0300

            Estrutura

            estrutura

        commit c14cc40
        Author: lucas0headshot <[email protected]>
        Date:   Sun Mar 3 02:47:29 2024 -0300

            doc: upd GS_SENAC.zip

            Atualizar diagrama de classes

        commit 14afd08
        Author: lucas0headshot <[email protected]>
        Date:   Sun Mar 3 02:21:04 2024 -0300

            docs: upd README

            Renomear seção "Authores" -> "Autores", pequena correção ortográfica

        commit 9254031
        Author: lucas0headshot <[email protected]>
        Date:   Sun Mar 3 02:19:57 2024 -0300

            docs: upd README

            Remover nomes tecnologias & renomear seção "Contribuidores" -> "Autores"

        commit 4dd54ba
        Author: lucas0headshot <[email protected]>
        Date:   Sun Mar 3 02:16:25 2024 -0300

            docs: upd README

            Atualizar README raiz

        commit 156f3ef
        Author: lucas0headshot <[email protected]>
        Date:   Sat Mar 2 22:54:34 2024 -0300

            raw: add pull_request_template.md

            Adicionar arquivo de template e configuração p/ Pull Request

        commit b634660
        Author: lucas0headshot <[email protected]>
        Date:   Sat Mar 2 22:53:56 2024 -0300

            raw: del pasta .idea

            Remover pasta .idea na raiz do repositório

    commit c002257
    Author: lucas0headshot <[email protected]>
    Date:   Mon Mar 4 21:48:30 2024 -0300

        refactor: upd base front-end

        Adiciona dependência do JQuery e Bootstrap

    commit 809fa04
    Author: lucas0headshot <[email protected]>
    Date:   Sun Mar 3 03:02:20 2024 -0300

        feat: add classe "Feedback"

        Adicionar classe Feedback.
        Cuja será usada para que os alunos avaliem cursos, turmas, matérias, aulas e etc

    commit b6c4cbb
    Author: lucas0headshot <[email protected]>
    Date:   Sun Mar 3 03:01:30 2024 -0300

        refactor: upd atributo "professor" classe "Avaliacao"

        Alterar atributo "professor" para "materia".
        Tendo em vista que o aluno será avaliado por matéria

    commit 0b0e9dc
    Merge: 1e94fc7 b2a9439
    Author: lucas0headshot <[email protected]>
    Date:   Sat Mar 2 18:49:21 2024 -0300

        Merge branch 'main' into lucas

    commit 1e94fc7
    Author: lucas0headshot <[email protected]>
    Date:   Fri Mar 1 21:57:30 2024 -0300

        feat: add estrutura básica login page

        Adicionar estrutura básica

commit 3c92279
Author: lucas0headshot <[email protected]>
Date:   Mon Mar 11 21:24:05 2024 -0300

    Squashed commit of the following:

    commit 2a45ce7
    Author: lucas0headshot <[email protected]>
    Date:   Mon Mar 11 21:23:39 2024 -0300

        feat: add classe Chamada

        Adicionar classe Chamada

    commit 86a708b
    Author: lucas0headshot <[email protected]>
    Date:   Mon Mar 11 21:23:18 2024 -0300

        feat: add e upd anotações classes

        Adicionar e atualizar anotações nas classes Curso, Funcionario, Materia e Turma

    commit 46a7a25
    Author: lucas0headshot <[email protected]>
    Date:   Fri Mar 8 00:58:19 2024 -0300

        refactor: upd login-page

        Alterar HTML, CSS e JS da login-page

    commit 4608b21
    Author: lucas0headshot <[email protected]>
    Date:   Thu Mar 7 00:38:02 2024 -0300

        refactor: upd HTML, CSS & JS da Login-Page

    commit c9f0bdf
    Author: lucas0headshot <[email protected]>
    Date:   Wed Mar 6 23:23:45 2024 -0300

        Squashed commit of the following:

        commit f176d36
        Merge: 8a810a1 510d2af
        Author: lucas0headshot <[email protected]>
        Date:   Wed Mar 6 23:22:59 2024 -0300

            Merge branch 'main' into dev

        commit 510d2af
        Author: lucas0headshot <[email protected]>
        Date:   Wed Mar 6 23:21:57 2024 -0300

            fix: del artefato "<<<<" na classe Funcionario

            Remover artefato do comentário gerado pelo Git ao tentar resolver conflito de merge

        commit 8a810a1
        Merge: b2a9439 fdffa05
        Author: Lucas Ronchi <[email protected]>
        Date:   Sun Mar 3 19:30:13 2024 -0300

            Merge pull request #4 from lucas0headshot/gabriel

            Estrutura

        commit fdffa05
        Author: Carrerogabriel <[email protected]>
        Date:   Sun Mar 3 19:15:53 2024 -0300

            Controllers, Services e Repositorys, estruturando classes

        commit a34519f
        Author: Carrerogabriel <[email protected]>
        Date:   Sun Mar 3 19:12:55 2024 -0300

            Estrutura

            estrutura

        commit c14cc40
        Author: lucas0headshot <[email protected]>
        Date:   Sun Mar 3 02:47:29 2024 -0300

            doc: upd GS_SENAC.zip

            Atualizar diagrama de classes

        commit 14afd08
        Author: lucas0headshot <[email protected]>
        Date:   Sun Mar 3 02:21:04 2024 -0300

            docs: upd README

            Renomear seção "Authores" -> "Autores", pequena correção ortográfica

        commit 9254031
        Author: lucas0headshot <[email protected]>
        Date:   Sun Mar 3 02:19:57 2024 -0300

            docs: upd README

            Remover nomes tecnologias & renomear seção "Contribuidores" -> "Autores"

        commit 4dd54ba
        Author: lucas0headshot <[email protected]>
        Date:   Sun Mar 3 02:16:25 2024 -0300

            docs: upd README

            Atualizar README raiz

        commit 156f3ef
        Author: lucas0headshot <[email protected]>
        Date:   Sat Mar 2 22:54:34 2024 -0300

            raw: add pull_request_template.md

            Adicionar arquivo de template e configuração p/ Pull Request

        commit b634660
        Author: lucas0headshot <[email protected]>
        Date:   Sat Mar 2 22:53:56 2024 -0300

            raw: del pasta .idea

            Remover pasta .idea na raiz do repositório

    commit c002257
    Author: lucas0headshot <[email protected]>
    Date:   Mon Mar 4 21:48:30 2024 -0300

        refactor: upd base front-end

        Adiciona dependência do JQuery e Bootstrap

    commit 809fa04
    Author: lucas0headshot <[email protected]>
    Date:   Sun Mar 3 03:02:20 2024 -0300

        feat: add classe "Feedback"

        Adicionar classe Feedback.
        Cuja será usada para que os alunos avaliem cursos, turmas, matérias, aulas e etc

    commit b6c4cbb
    Author: lucas0headshot <[email protected]>
    Date:   Sun Mar 3 03:01:30 2024 -0300

        refactor: upd atributo "professor" classe "Avaliacao"

        Alterar atributo "professor" para "materia".
        Tendo em vista que o aluno será avaliado por matéria

    commit 0b0e9dc
    Merge: 1e94fc7 b2a9439
    Author: lucas0headshot <[email protected]>
    Date:   Sat Mar 2 18:49:21 2024 -0300

        Merge branch 'main' into lucas

    commit 1e94fc7
    Author: lucas0headshot <[email protected]>
    Date:   Fri Mar 1 21:57:30 2024 -0300

        feat: add estrutura básica login page

        Adicionar estrutura básica

commit f176d36
Merge: 8a810a1 510d2af
Author: lucas0headshot <[email protected]>
Date:   Wed Mar 6 23:22:59 2024 -0300

    Merge branch 'main' into dev

commit 8a810a1
Merge: b2a9439 fdffa05
Author: Lucas Ronchi <[email protected]>
Date:   Sun Mar 3 19:30:13 2024 -0300

    Merge pull request #4 from lucas0headshot/gabriel

    Estrutura

commit fdffa05
Author: Carrerogabriel <[email protected]>
Date:   Sun Mar 3 19:15:53 2024 -0300

    Controllers, Services e Repositorys, estruturando classes

commit a34519f
Author: Carrerogabriel <[email protected]>
Date:   Sun Mar 3 19:12:55 2024 -0300

    Estrutura

    estrutura

* feat: add healthCheckController

Adicionar healthCheck p/ checar se App tá rodando usando a rota "health"

* feat: add exceptions

Adicionar ValidationException & BusinessException

* feat: add AbstractController

Adicionar AbstractController, cujo abstrai o tratamento de exceções

* refactor: add extens AbstractController em todos Controllers

Adicionar extensão do AbstractController em todos os Controllers

* fix: add default page size > 0 nos Controllers

Alterar o page size default para maior que 0 nos Controllers.
Anteriormente estava 0, o que ocasionava numa Exception

* raw: add dependências HibernateValidator & ValidationAPI

Adicionar dependências do HibernateValidator e ValidationAPI no pom.xml

* feat: add validação CPF no Funcionario

Adicionar validação CPF no Service do Funcionario e o método no Repository

* refactor: add attr "limiteQtdInscritos" na Turma

Adicionar atributo "limiteQtdInscritos" na classe Turma

* feat: add validação nota min & max na Avaliação

Adicionar validação de nota mínima e máxima na classe Avaliação

* feat: add validação CPF, TituloEleitoral & Email no Funcionario

Adicionar validação do CPF, TituloEleitoral & Email na classe Funcionario

* feat: add RN limite inscrição na turma

Adicionar validação da RN de limite de inscrição em uma Turma

* fix: del método "remove" duplicado no AvaliacaoService

Remover método duplicado na AvaliacaoService

* feat: add Repository, Service & Controller da classe Chamada

Adicionar Repository, Service & Controller da classe Chamada

* feat: add gestao_cursos.json c/ info do projeto no Insomnia

Adicionar backup do projeto no Insomnia

* refix: update default param size paginação dos Controllers

Mudar default do param "size" para 1.

* feat: add métodos FuncionarioRepository

Adicionar métodos no FuncionarioRepository

* feat: add método validateEntries no FuncionarioService

Adicionar método validateEntries no FuncionarioService.
Este método é responsável por lançar exceções de validação.



* chore: upd gestao_cursos.json

Atualizar JSON c/ Projeto no Insomnia

* refactor: upd HTML & CSS da login-page

Refatorar e adicionar responsividade à login-page

* docs: upd README.md

* docs: upd REAME.md

* refactor: upd background CSS

* refactor: rename classes Certificacoes, Depententes & DadosBancarios

Renomear as classes Certificacoes, Dependentes & DadosBancarios.

* refactor: desabreviar classe ExpAnterior

Desabreviar a classe ExpAnterior p/ ExperienciaAnterior.

* refactor: move classes p/ domain/

Mover as classes de domínio do projeto para a pasta domain/

---------

Co-authored-by: Carrerogabriel <[email protected]>
Co-authored-by: JuannCarloss <[email protected]>
Co-authored-by: Juan Carlos <[email protected]>
  • Loading branch information
4 people authored Jun 3, 2024
1 parent 19f114a commit d59f2a1
Show file tree
Hide file tree
Showing 74 changed files with 577 additions and 397 deletions.
1 change: 1 addition & 0 deletions backend/insomnia/gestao_cursos.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"_type":"export","__export_format":4,"__export_date":"2024-03-21T04:27:35.739Z","__export_source":"insomnia.desktop.app:v8.6.1","resources":[{"_id":"req_7b2291676b9b4c1bb1a3f1e04db2fedf","parentId":"fld_de250e3afd8e4e6d8e6d142d8e21806e","modified":1710989898075,"created":1710989876902,"url":"http://localhost:8080/health","name":"Health","description":"","method":"GET","body":{},"parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/8.6.1"}],"authentication":{},"metaSortKey":-1710989876903,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_de250e3afd8e4e6d8e6d142d8e21806e","parentId":"wrk_307bf11f7b284ddfb9162b0238385a60","modified":1710989872477,"created":1710989872477,"name":"Health","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1710989872477,"_type":"request_group"},{"_id":"wrk_307bf11f7b284ddfb9162b0238385a60","parentId":null,"modified":1710906266712,"created":1710906259757,"name":"Gestão","description":"","scope":"collection","_type":"workspace"},{"_id":"req_73f6b4a6ccf8451b89adae4cda608b25","parentId":"fld_1d24b799fbed4cc68282770f89629c25","modified":1710994393267,"created":1710994372107,"url":"http://localhost:8080/api/cargo/3","name":"DELETE","description":"","method":"DELETE","body":{},"parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/8.6.1"}],"authentication":{},"metaSortKey":-1710994372107,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_1d24b799fbed4cc68282770f89629c25","parentId":"wrk_307bf11f7b284ddfb9162b0238385a60","modified":1710989556113,"created":1710989556113,"name":"Cargo","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1710989556113,"_type":"request_group"},{"_id":"req_1f0559dcac324a6b8e19ac44476442e2","parentId":"fld_1d24b799fbed4cc68282770f89629c25","modified":1710994352246,"created":1710994329777,"url":"http://localhost:8080/api/cargo/1","name":"PUT","description":"","method":"PUT","body":{"mimeType":"application/json","text":""},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"User-Agent","value":"insomnia/8.6.1"}],"authentication":{},"metaSortKey":-1710994329777,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d4d3c02168054233b32d4ad674269775","parentId":"fld_1d24b799fbed4cc68282770f89629c25","modified":1710994302670,"created":1710994269122,"url":"http://localhost:8080/api/cargo/1","name":"GET ID","description":"","method":"GET","body":{},"parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/8.6.1"}],"authentication":{},"metaSortKey":-1710994269122,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_620254600a5e4d31b386a3fef21db79a","parentId":"fld_1d24b799fbed4cc68282770f89629c25","modified":1710993960396,"created":1710993944525,"url":"http://localhost:8080/api/cargo","name":"GET","description":"","method":"GET","body":{},"parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/8.6.1"}],"authentication":{},"metaSortKey":-1710993944525,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_9b390d0f7d94477595ca90e847de1507","parentId":"fld_1d24b799fbed4cc68282770f89629c25","modified":1710993930976,"created":1710907316812,"url":"http://localhost:8080/api/cargos","name":"POST","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\t\t\"descricao\": \"Dev\",\n\t\t\t\"nivel\": \"Júnior\",\n\t\t\t\"comissionado\": false\n\t\t}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"User-Agent","value":"insomnia/8.6.1"}],"authentication":{},"metaSortKey":-1710989559127,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_79795ee962504e1698c3b27043c77a75","parentId":"fld_47a639dda80f42ebba93f4c225162426","modified":1710994499896,"created":1710994488090,"url":"http://localhost:8080/api/funcionario/3","name":"New Request","description":"","method":"DELETE","body":{},"parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/8.6.1"}],"authentication":{},"metaSortKey":-1710994488090,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_47a639dda80f42ebba93f4c225162426","parentId":"wrk_307bf11f7b284ddfb9162b0238385a60","modified":1710989539244,"created":1710989539244,"name":"Funcionario","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1710989539244,"_type":"request_group"},{"_id":"req_51c3e4c4b9de4c27b4638269eb8d3c53","parentId":"fld_47a639dda80f42ebba93f4c225162426","modified":1710990758976,"created":1710990201960,"url":"http://localhost:8080/api/funcionario/4","name":"PUT","description":"","method":"PUT","body":{"mimeType":"application/json","text":"{\n\t\"depentendes\": [\n\t\t{\n\t\t\t\"nome\": \"Filho 1\",\n\t\t\t\"dataNasc\": \"2000-01-12\",\n\t\t\t\"escolaridade\": \"MEDIOCOMPLETO\"\n\t\t}\n\t]\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"User-Agent","value":"insomnia/8.6.1"}],"authentication":{},"metaSortKey":-1710990201960,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_6f5fcc71cc00445e9f46ce940d05faa2","parentId":"fld_47a639dda80f42ebba93f4c225162426","modified":1710990260588,"created":1710906313092,"url":"http://localhost:8080/api/funcionario","name":"GET","description":"","method":"GET","body":{},"parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/8.6.1"}],"authentication":{},"metaSortKey":-1710989547612,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_56a34cb3aa5349fdb428942f47372914","parentId":"fld_47a639dda80f42ebba93f4c225162426","modified":1710994515213,"created":1710994511158,"url":"http://localhost:8080/api/funcionario/3","name":"GET ID","description":"","method":"GET","body":{},"parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/8.6.1"}],"authentication":{},"metaSortKey":-1710989547562,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_a37f5315e42b4b39a75c3ea7849439f1","parentId":"fld_47a639dda80f42ebba93f4c225162426","modified":1710989547622,"created":1710906957421,"url":"http://localhost:8080/api/funcionario","name":"POST","description":"","method":"POST","body":{"mimeType":"application/json","text":"\n\t{\n\t\t\"nome\": \"Nome do Funcionário\",\n\t\t\"cpf\": \"123.252.989-30\",\n\t\t\"rg\": \"1234567\",\n\t\t\"endereco\": \"Endereço do Funcionário\",\n\t\t\"ctbs\": \"CTBS do Funcionário\",\n\t\t\"salarioContratual\": 2500.0,\n\t\t\"cargaHoraria\": 40,\n\t\t\"modalidadeContratual\": \"CLT\",\n\t\t\"telefone\": \"(00) 1234-5678\",\n\t\t\"estadoCivil\": \"CASADO\",\n\t\t\"tituloEleitor\": \"132848650914\",\n\t\t\"reservista\": \"1234567\",\n\t\t\"dataNasc\": \"1990-01-01\",\n\t\t\"pisPasep\": \"1234567890\",\n\t\t\"registroProfissional\": \"Registro Profissional do Funcionário\",\n\t\t\"email\": \"[email protected]\",\n\t\t\"sindicato\": \"Sindicato do Funcionário\",\n\t\t\"setor\": \"Setor do Funcionário\",\n\t\t\"tipoRH\": \"APOSITIVO\",\n\t\t\"cnh\": \"1234567890\",\n\t\t\"dataAdmissao\": \"2020-01-01\",\n\t\t\n\t\t\"cargo\": {\n\t\t\t\"id\": 1\n\t\t},\n\t\t\n\t\t\"escolaridade\": \"MEDIOCOMPLETO\",\n\t\t\n\t\t\"filiacao\": {\n\t\t\t\"id\": 1\n\t\t},\n\t\t\n\t\t\"dependentes\": {\n\t\t\t\"id\": 1\n\t\t},\n\t\t\n\t\t\"racaCor\": \"Branca\",\n\t\t\"religiao\": \"Religião do Funcionário\",\n\t\t\"doadorSangue\": true,\n\t\t\"genero\": \"MASCULINO\",\n\t\t\"certificacoeses\": [],\n\t\t\"turno\": \"MATUTINO\",\n\t\t\"nacionalidade\": \"Nacionalidade do Funcionário\",\n\t\t\"redeSocial\": \"Rede Social do Funcionário\",\n\t\t\"areaAtuacao\": \"Área de Atuação do Funcionário\",\n\t\t\"matricula\": \"123456\",\n\t\t\"status\": \"TRABALHANDO\",\n\t\t\"expAnteriors\": [],\n\t\t\"idioma\": \"Idioma do Funcionário\",\n\t\t\"dadosBancarioses\": [],\n\t\t\"horaExtra\": 5,\n\t\t\"horaEntrada\": \"08:00:00\",\n\t\t\"horaSaida\": \"17:00:00\"\n\t}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"User-Agent","value":"insomnia/8.6.1"}],"authentication":{},"metaSortKey":-1710989547512,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_a7455bad3d98e24fd33d63ef79ba0c7a94d8be54","parentId":"wrk_307bf11f7b284ddfb9162b0238385a60","modified":1710906296997,"created":1710906259763,"name":"Base Environment","data":{"url":"http://localhost:8080/api/"},"dataPropertyOrder":{"&":["url"]},"color":null,"isPrivate":false,"metaSortKey":1710906259764,"_type":"environment"},{"_id":"jar_a7455bad3d98e24fd33d63ef79ba0c7a94d8be54","parentId":"wrk_307bf11f7b284ddfb9162b0238385a60","modified":1710906259769,"created":1710906259769,"name":"Default Jar","cookies":[],"_type":"cookie_jar"}]}
12 changes: 12 additions & 0 deletions backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,18 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
<version>7.0.2.Final</version>
</dependency>

<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>2.0.1.Final</version>
</dependency>
</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package com.senac.gestaocurso.enterprise.exception;



import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;



@ResponseStatus(HttpStatus.CONFLICT)
public class BusinessException extends RuntimeException {
public BusinessException(String msg) {
super(msg);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package com.senac.gestaocurso.enterprise.exception;



import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;



@ResponseStatus(HttpStatus.UNPROCESSABLE_ENTITY)
public class ValidationException extends RuntimeException {
public ValidationException(String msg) {
super(msg);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package com.senac.gestaocurso.health;



import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;



@RestController
public class HealthCheckController {
@GetMapping("/health")
public String healthCheck() {
return "Aplicação está rodando";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@



import com.senac.gestaocurso.models.domain.Frequencia;
import jakarta.persistence.*;

import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


@Entity
public class DadosBancarios extends EntityID {
public class DadosBancario extends EntityID {
@Column(nullable = false)
private String banco;

Expand All @@ -28,10 +28,10 @@ public class DadosBancarios extends EntityID {



public DadosBancarios() {
public DadosBancario() {
}

public DadosBancarios(String banco, String agencia, String conta, TipoContaBancaria tipoContaBancaria, Funcionario funcionario) {
public DadosBancario(String banco, String agencia, String conta, TipoContaBancaria tipoContaBancaria, Funcionario funcionario) {
this.banco = banco;
this.agencia = agencia;
this.conta = conta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


@Entity
public class Dependentes extends EntityID {
public class Dependente extends EntityID {
@Column
private String nome;

Expand All @@ -28,10 +28,10 @@ public class Dependentes extends EntityID {
private Funcionario funcionario;


public Dependentes() {
public Dependente() {
}

public Dependentes(String nome, Escolaridade escolaridade, LocalDate dataNasc, Funcionario funcionario) {
public Dependente(String nome, Escolaridade escolaridade, LocalDate dataNasc, Funcionario funcionario) {
this.nome = nome;
this.escolaridade = escolaridade;
this.dataNasc = dataNasc;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


@Entity
public class ExpAnterior extends EntityID {
public class ExperienciaAnterior extends EntityID {
@Column(nullable = false)
private String descricao;

Expand All @@ -31,10 +31,10 @@ public class ExpAnterior extends EntityID {



public ExpAnterior() {
public ExperienciaAnterior() {
}

public ExpAnterior(String descricao, Cargo cargo, LocalDate periodoFinal, LocalDate peridoInicial, Funcionario funcionario) {
public ExperienciaAnterior(String descricao, Cargo cargo, LocalDate periodoFinal, LocalDate peridoInicial, Funcionario funcionario) {
this.descricao = descricao;
this.cargo = cargo;
this.periodoFinal = periodoFinal;
Expand Down
32 changes: 16 additions & 16 deletions backend/src/main/java/com/senac/gestaocurso/models/Funcionario.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@


import com.senac.gestaocurso.enums.*;
import com.senac.gestaocurso.models.domain.Certificacao;
import jakarta.persistence.*;
import java.time.LocalDate;
import java.time.LocalTime;
import java.util.ArrayList;
import java.util.List;


Expand Down Expand Up @@ -88,7 +88,7 @@ public class Funcionario extends EntityID {
private Filiacao filiacao;

@OneToMany(mappedBy = "funcionario", cascade = CascadeType.ALL, fetch = FetchType.LAZY, orphanRemoval = true)
private List<Dependentes> dependentes;
private List<Dependente> dependentes;

@Column
private String racaCor;
Expand All @@ -103,7 +103,7 @@ public class Funcionario extends EntityID {
private Genero genero;

@OneToMany(mappedBy = "funcionario", cascade = CascadeType.ALL, fetch = FetchType.LAZY, orphanRemoval = true)
private List<Certificacoes> certificacoes;
private List<Certificacao> certificacoes;

@Enumerated(EnumType.STRING)
private Turno turno;
Expand All @@ -124,13 +124,13 @@ public class Funcionario extends EntityID {
private Status status;

@OneToMany(mappedBy = "funcionario", cascade = CascadeType.ALL, fetch = FetchType.LAZY, orphanRemoval = true)
private List<ExpAnterior> expAnterior;
private List<ExperienciaAnterior> experienciaAnterior;

@Column
private String idioma;

@OneToMany(mappedBy = "funcionario", cascade = CascadeType.ALL, fetch = FetchType.LAZY, orphanRemoval = true)
private List<DadosBancarios> dadosBancarios;
private List<DadosBancario> dadosBancarios;

@Column
private Integer horaExtra;
Expand Down Expand Up @@ -340,11 +340,11 @@ public void setFiliacao(Filiacao filiacao) {
this.filiacao = filiacao;
}

public List<Dependentes> getDependentes() {
public List<Dependente> getDependentes() {
return dependentes;
}

public void setDependentes(List<Dependentes> dependentes) {
public void setDependentes(List<Dependente> dependentes) {
this.dependentes = dependentes;
}

Expand Down Expand Up @@ -380,27 +380,27 @@ public void setGenero(Genero genero) {
this.genero = genero;
}

public List<DadosBancarios> getDadosBancarios() {
public List<DadosBancario> getDadosBancarios() {
return dadosBancarios;
}

public void setDadosBancarios(List<DadosBancarios> dadosBancarios) {
public void setDadosBancarios(List<DadosBancario> dadosBancarios) {
this.dadosBancarios = dadosBancarios;
}

public List<ExpAnterior> getExpAnterior() {
return expAnterior;
public List<ExperienciaAnterior> getExpAnterior() {
return experienciaAnterior;
}

public void setExpAnterior(List<ExpAnterior> expAnterior) {
this.expAnterior = expAnterior;
public void setExpAnterior(List<ExperienciaAnterior> experienciaAnterior) {
this.experienciaAnterior = experienciaAnterior;
}

public List<Certificacoes> getCertificacoes() {
public List<Certificacao> getCertificacoes() {
return certificacoes;
}

public void setCertificacoes(List<Certificacoes> certificacoes) {
public void setCertificacoes(List<Certificacao> certificacoes) {
this.certificacoes = certificacoes;
}

Expand Down Expand Up @@ -525,7 +525,7 @@ public String toString() {
", areaAtuacao='" + areaAtuacao + '\'' +
", matricula='" + matricula + '\'' +
", status=" + status +
", expAnterior=" + expAnterior +
", expAnterior=" + experienciaAnterior +
", idioma='" + idioma + '\'' +
", dadosBancarios=" + dadosBancarios +
", horaExtra=" + horaExtra +
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package com.senac.gestaocurso.models;
package com.senac.gestaocurso.models.domain;



import com.senac.gestaocurso.models.EntityID;
import com.senac.gestaocurso.models.Funcionario;
import jakarta.persistence.*;

import java.time.LocalDate;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package com.senac.gestaocurso.models;
package com.senac.gestaocurso.models.domain;



import com.senac.gestaocurso.models.EntityID;
import jakarta.persistence.*;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import java.time.LocalDate;


Expand All @@ -22,6 +24,8 @@ public class Avaliacao extends EntityID {
private String nome;

@Column
@Min(value = 0, message = "A nota deve ser no mínimo 0")
@Max(value = 10, message = "A nota deve ser no máximo 10")
private Integer nota;

@Column(nullable = false)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package com.senac.gestaocurso.models;
package com.senac.gestaocurso.models.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.senac.gestaocurso.models.EntityID;
import com.senac.gestaocurso.models.Funcionario;
import jakarta.persistence.*;


Expand All @@ -9,7 +11,7 @@


@Entity
public class Certificacoes extends EntityID {
public class Certificacao extends EntityID {
@Column(nullable = false)
private String nome;

Expand All @@ -26,10 +28,10 @@ public class Certificacoes extends EntityID {



public Certificacoes() {
public Certificacao() {
}

public Certificacoes(String nome, Integer cargaHoraria, LocalDate dataEmissao, Funcionario funcionario) {
public Certificacao(String nome, Integer cargaHoraria, LocalDate dataEmissao, Funcionario funcionario) {
this.nome = nome;
this.cargaHoraria = cargaHoraria;
this.dataEmissao = dataEmissao;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package com.senac.gestaocurso.models;
package com.senac.gestaocurso.models.domain;



import com.senac.gestaocurso.models.EntityID;
import com.senac.gestaocurso.models.Funcionario;
import jakarta.persistence.*;


Expand Down
Loading

0 comments on commit d59f2a1

Please sign in to comment.