Interface Communication Login Credentials
This commit is contained in:
@ -49,8 +49,7 @@ public class User {
|
||||
private Date lastSeen;
|
||||
private envoy.data.User.UserStatus status;
|
||||
|
||||
// TODO: Fix Error
|
||||
@OneToMany(targetEntity = User.class, cascade = { CascadeType.ALL }, fetch = FetchType.LAZY, mappedBy = "contacts")
|
||||
@OneToMany(targetEntity = User.class, cascade = { CascadeType.ALL }, fetch = FetchType.LAZY, orphanRemoval = true)
|
||||
private List<User> contacts;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user