-
Notifications
You must be signed in to change notification settings - Fork 0
Fix/us02-96: Corrigir registro de localizações do usuário #101
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
Conversation
…ses nao utilizadas
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the interpreter user location registration system to move from a one-to-one relationship to a one-to-many relationship between interpreters and locations. It also reorganizes the DTO structure to improve code organization and updates database migrations.
- Refactors interpreter-location relationship from OneToOne to OneToMany
- Consolidates interpreter registration and management into a single service
- Reorganizes DTOs into proper request/response packages
Reviewed Changes
Copilot reviewed 49 out of 49 changed files in this pull request and generated 4 comments.
Show a summary per file
File | Description |
---|---|
Location.java | Changes relationship from OneToOne to ManyToOne with interpreter |
Interpreter.java | Updates to have List instead of single Location |
InterpreterService.java | New consolidated service replacing InterpreterRegisterService |
InterpreterResponseMapper.java | Updates mapping logic for multiple locations |
Database migrations | Updates specialty names, location columns, and user data |
DTO reorganization | Moves DTOs to proper request/response packages |
Test files | Updates tests to match new service structure |
...ttils/src/main/java/com/pointtils/pointtils/src/application/services/InterpreterService.java
Show resolved
Hide resolved
pointtils/src/main/java/com/pointtils/pointtils/src/core/domain/entities/Location.java
Outdated
Show resolved
Hide resolved
pointtils/src/main/resources/db/migration/V6__Update_address_data.sql
Outdated
Show resolved
Hide resolved
.../main/java/com/pointtils/pointtils/src/application/dto/responses/InterpreterResponseDTO.java
Show resolved
Hide resolved
|
📍 Título
Corrigir registro de localizações do usuário e revisa implementações de rotas do intérprete
📌 Descrição
🛠️ O que foi feito?
🧪 Testes realizados:
Cadastro de um novo intérprete

Busca de todos os intérpretes

Busca de um intérprete por id


Atualiza intérprete por id

Deleta intérprete por id

👀 Problemas conhecidos:
📷 Anexos
✅ Checklist
📎 Referências
#96