I would like to know if I could annotate any type of property as @UserPermission or @RolePermission and not just a String like in examples. What I would like do is to have a relationship between the user and the recipient of a permission.
What if I want to change a users username ? I don't want to update the recipient column of the user permissions table by hand.
Any help will be greatly appreciated-