Skip to content

Commit

Permalink
Role.java relations created
Browse files Browse the repository at this point in the history
  • Loading branch information
Hdelegido committed Feb 29, 2024
1 parent 745b52e commit 96dcef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/cat/udl/eps/softarch/demo/domain/Role.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class Role extends UriEntity<String> {
@NotBlank
private String name;

@ManyToMany(mappedBy = "roles")
@ManyToMany
private Set<User> users;

public Role(String id) {
Expand Down

0 comments on commit 96dcef0

Please sign in to comment.