Interface User<K extends Serializable>

All Superinterfaces:
Serializable

public interface User<K extends Serializable> extends Serializable
Author:
Cody Lu, JL
  • Method Details

    • getId

      K getId()
      用户的ID
      Returns:
    • getUserType

      UserType getUserType()
      用户类型
      Returns:
    • getTenantId

      String getTenantId()
      用户所属租户ID
      Returns:
    • getLoginName

      String getLoginName()
      用户登录ID
      Returns:
    • getAvatarUrl

      String getAvatarUrl()
      用户头像 url
      Returns:
    • getDisplayName

      String getDisplayName()
      用户显示名
      Returns:
    • getPasswordHash

      String getPasswordHash()
      用户的密码Hash,@JsonIgnore,对外不可见
      Returns:
    • getSecretKey

      String getSecretKey()
      用户的SecretKey,@JsonIgnore,对外不可见
      Returns:
    • getStatus

      String getStatus()
      用户的状态
      Returns: