We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3b0a93 commit b651a7eCopy full SHA for b651a7e
login/src/main/java/com/glaum/login/entity/User.java
@@ -24,6 +24,8 @@ public class User {
24
private String password;
25
@Column(name = "username")
26
private String username;
27
+ @Column(name="permissionid")
28
+ private int permissionid;
29
@ManyToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER)
30
@JoinTable(name = "user_role", joinColumns = @JoinColumn(
31
name = "user_id", referencedColumnName = "id"),
@@ -73,4 +75,14 @@ public Set<Role> getRoles() {
73
75
public void setRoles(Set<Role> roles) {
74
76
this.roles = roles;
77
}
78
+
79
+ public int getpermissionid()
80
+ {
81
+ return permissionid;
82
+ }
83
84
+ public void setpermissionid(int permissionid)
85
86
+ this.permissionid=permissionid;
87
88
0 commit comments