类 UserPrincipal
java.lang.Object
cn.herodotus.stirrup.core.identity.domain.UserPrincipal
- 所有已实现的接口:
HerodotusPrincipal,Principal
Description: 用户登录信息
- 作者:
- : gengwei.zheng
- Date:
- : 2022/7/13 14:31
-
构造器详细资料
-
UserPrincipal
public UserPrincipal() -
UserPrincipal
-
-
方法详细资料
-
getId
从接口复制的说明:HerodotusPrincipal获取用户ID- 指定者:
getId在接口中HerodotusPrincipal- 返回:
- 用户ID
-
setId
-
getName
-
setName
-
getAvatar
从接口复制的说明:HerodotusPrincipal获取用户头像- 指定者:
getAvatar在接口中HerodotusPrincipal- 返回:
- 用户头像
-
setAvatar
-
getRoles
-
setRoles
-
getEmployeeId
-
setEmployeeId
-
toMap
-
equals
-
hashCode
public int hashCode() -
toString
-