Skip to content

Feature/create models#6

Open
matheusgondra wants to merge 5 commits intodevelopfrom
feature/create-models
Open

Feature/create models#6
matheusgondra wants to merge 5 commits intodevelopfrom
feature/create-models

Conversation

@matheusgondra
Copy link
Member

  • Criação das duas tabelas: people e addresses
  • Criação dos modelos JPA

Closes #1

@matheusgondra matheusgondra requested a review from laporeon January 3, 2026 16:04
@matheusgondra matheusgondra self-assigned this Jan 3, 2026
@matheusgondra matheusgondra linked an issue Jan 3, 2026 that may be closed by this pull request
@Data
@Entity
@Table(name = "addresses")
public class Address {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Não sei se tu vai querer usar builder pattern, mas se for, apenas a sugestão mesmo se quiser aproveitar a PR pra já tacar o @Builder nessas duas entidades

Copy link
Member Author

Choose a reason for hiding this comment

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

Não cheguei a usar o padrão builder no java. O que acha melhor?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Criação da entidade Pessoa

2 participants