Class UserInfo

java.lang.Object
com.sankcrm.erp.domain.model.IdentifiedDomainObject
com.sankcrm.erp.domain.model.Entity
com.sankcrm.erp.domain.model.ConcurrencySafeEntity
com.sankcrm.erp.auth.domain.model.user.UserInfo
All Implemented Interfaces:
Serializable

@Entity public class UserInfo extends com.sankcrm.erp.domain.model.ConcurrencySafeEntity
账号信息
Since:
2.1.0
Author:
zhsxin
See Also:
create time:
2023/4/1 15:11
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    addExtra(String name, T value)
    Deprecated, for removal: This API element is subject to removal in a future version.
    <T> T
    Deprecated, for removal: This API element is subject to removal in a future version.

    Methods inherited from class com.sankcrm.erp.domain.model.ConcurrencySafeEntity

    failWhenConcurrencyViolation, getUpdatedDateTime, getVersion, setUpdatedDateTime, setVersion

    Methods inherited from class com.sankcrm.erp.domain.model.Entity

    getCreatedDateTime, setCreatedDateTime

    Methods inherited from class com.sankcrm.erp.domain.model.IdentifiedDomainObject

    equals, evict, getId, hashCode, merge, refresh, setId

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UserInfo

      public UserInfo()
  • Method Details

    • addExtra

      @Deprecated(since="2.5.0", forRemoval=true) public <T extends Serializable> UserInfo addExtra(String name, T value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      增加扩展信息
      Type Parameters:
      T - 值类型
      Parameters:
      name - 扩展名
      value - 扩展值
      Returns:
      配置
      Since:
      2.1.1
    • getExtra

      @Deprecated(since="2.5.0", forRemoval=true) public <T> T getExtra(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      获取扩展信息
      Type Parameters:
      T - 值类型
      Parameters:
      name - 名称
      Returns:
      值
      Since:
      2.1.1