🚧 Feat (jobs,users,candidacy): Criação da entidade candi…#174
Open
leticiazalasik wants to merge 7 commits intoSouJunior:mainfrom
Open
🚧 Feat (jobs,users,candidacy): Criação da entidade candi…#174leticiazalasik wants to merge 7 commits intoSouJunior:mainfrom
leticiazalasik wants to merge 7 commits intoSouJunior:mainfrom
Conversation
…ositório candidacy com métodos create, findByUsuarioId e updateStatus.
MikaelMelo1
requested changes
Oct 4, 2024
…): Padronização dos atributos em inglês e criação de um enum para o status de vaga.
…ndOne e retirada a verificaçao de array e criado o método findByUserId
MikaelMelo1
requested changes
Oct 14, 2024
MikaelMelo1
requested changes
Oct 14, 2024
…efined para console.log e utilização do throw new Error.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Modelagem de Dados e Repositório:
Modelagem de Dados:
◦ Criar a entidade Candidatura com os campos:
▪ id
▪ vagaId (referência à vaga)
▪ usuarioId (referência ao usuário)
▪ status (em andamento, encerrada, sem interesse)
▪ dataCandidatura
▪ dataEncerramento
◦ Relacionar com as tabelas de Vagas e Usuários.
Repositório
CandidaturaRepository:
◦ Implementar métodos:
▪ create(candidatura: Candidatura): Cria um novo registro de candidatura.
▪ findByUsuarioId(usuarioId: UUID): Busca todas as candidaturas do usuário.
▪ updateStatus(id: UUID, status: string): Atualizar o status da candidatura.