Skip to content

Commit

Permalink
testando o sistema após remover mapeamento
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioAgnolin committed Nov 7, 2024
1 parent 0a8d7ca commit b069918
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions backend/src/main/java/br/com/servicemaker/domain/Agenda.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
@AllArgsConstructor
@NoArgsConstructor
public class Agenda extends AbstractEntity {


@OneToOne(mappedBy = "agenda")
private Prestador prestador;

@OneToMany(mappedBy = "agenda", cascade = CascadeType.REMOVE)
Expand Down
2 changes: 0 additions & 2 deletions backend/src/main/java/br/com/servicemaker/domain/Contato.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ public class Contato extends AbstractEntity {
@NotBlank
@NotNull
private String email;

@OneToOne(mappedBy = "contato")
private Usuario usuario;

public Contato(ContatoDTO contato) {
Expand Down

0 comments on commit b069918

Please sign in to comment.