Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Entity
- public class User {
- ...
- @ManyToMany
- private Set<Permission> allowedPermissions;
- ...
- }
- @Entity
- public class Permission {
- ...
- private boolean isDefault;
- ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement