Skip to content

Commit

Permalink
refactor: Changed to members
Browse files Browse the repository at this point in the history
  • Loading branch information
miguel-merlin committed Apr 9, 2024
1 parent bee5734 commit a193790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/sitblueprint/admin/model/users/Team.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class Team {
private String name;

@OneToMany(mappedBy = "team", fetch = FetchType.LAZY, cascade = CascadeType.ALL)
private Set<User> users = new HashSet<>();
private Set<User> members = new HashSet<>();

@OneToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "team_lead_id")
Expand Down

0 comments on commit a193790

Please sign in to comment.