public void toMap(Map ht) { super.toMap(ht); }
public void fromMap(Map ht) { super.fromMap(ht); }
public String toString() { return "user " + user.getUsername() + " -> " + role.getAuthority(); }
@Transient public String getAuthority() { return role.getAuthority(); }
public int getRoleId() { return (role != null) ? role.getRoleId() : 2; }
public String getRole() { return (role != null) ? role.getRole() : null; }