Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚧 Feat (jobs,users,candidacy): Criação da entidade candi… #174

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

leticiazalasik
Copy link
Contributor

Modelagem de Dados e Repositório:

  1. 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.

  2. 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.

…ositório candidacy com métodos create, findByUsuarioId e updateStatus.
Copy link
Contributor

@MikaelMelo1 MikaelMelo1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Algumas observações

src/database/entities/candidacy.entity.ts Show resolved Hide resolved
src/database/entities/jobs.entity.ts Show resolved Hide resolved
src/database/entities/users.entity.ts Show resolved Hide resolved
Copy link

sonarcloud bot commented Oct 14, 2024

Copy link
Contributor

@MikaelMelo1 MikaelMelo1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correto!

Copy link
Contributor

@MikaelMelo1 MikaelMelo1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants