FINERACT-546 remove group from center
This commit is contained in:
+7
-1
@@ -108,7 +108,7 @@ public final class Group extends AbstractPersistableCustom<Long> {
|
|||||||
|
|
||||||
@OneToMany(fetch = FetchType.EAGER)
|
@OneToMany(fetch = FetchType.EAGER)
|
||||||
@JoinColumn(name = "parent_id")
|
@JoinColumn(name = "parent_id")
|
||||||
private final List<Group> groupMembers = new LinkedList<>();
|
private List<Group> groupMembers = new LinkedList<>();
|
||||||
|
|
||||||
@ManyToMany
|
@ManyToMany
|
||||||
@JoinTable(name = "m_group_client", joinColumns = @JoinColumn(name = "group_id"), inverseJoinColumns = @JoinColumn(name = "client_id"))
|
@JoinTable(name = "m_group_client", joinColumns = @JoinColumn(name = "group_id"), inverseJoinColumns = @JoinColumn(name = "client_id"))
|
||||||
@@ -744,4 +744,10 @@ public final class Group extends AbstractPersistableCustom<Long> {
|
|||||||
this.accountNumber = accountIdentifier;
|
this.accountNumber = accountIdentifier;
|
||||||
this.accountNumberRequiresAutoGeneration = false;
|
this.accountNumberRequiresAutoGeneration = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setGroupMembers(List<Group> groupMembers) {
|
||||||
|
this.groupMembers = groupMembers;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user