Remove tags.

This commit is contained in:
Paulo Gustavo Veiga
2022-10-03 16:14:23 -07:00
parent f0531551d7
commit 2146e2e457
5 changed files with 1 additions and 42 deletions

View File

@@ -57,22 +57,9 @@ public class User
@Column(name = "authenticator_uri")
private String authenticatorUri;
@ElementCollection
@CollectionTable(name = "TAG", joinColumns = @JoinColumn(name = "user_id"))
@Column(name = "name")
private Set<String> tags = new HashSet<>();
public User() {
}
public void setTags(Set<String> tags) {
this.tags = tags;
}
public Set<String> getTags() {
return tags;
}
public String getFullName() {
return this.getFirstname() + " " + this.getLastname();
}