Add:AppUserId

This commit is contained in:
陈宁 2023-04-12 14:41:07 +08:00
parent 3d94c75e4e
commit 6a48bc3430

View File

@ -14,23 +14,28 @@ public class UserInfo {
/**
* 自然人ID从原axzoId迁移过来的每个自然人有一个ID后续这里的ID会被治理不会和原axzoId一一对应
*/
private Long personId;
*/
private Long personId;
/**
* 身份ID以后大家最常用的ID用于各种具体的业务场景
*/
private Long identityId;
/**
* 身份ID以后大家最常用的ID用于各种具体的业务场景
*/
private Long identityId;
private Integer identityType;
/**
* 三方中控平台的用户id
*/
private Long appUserId;
/**
* 认证状态
*/
private VerifyStatusEnum verifyStatus;
private Integer identityType;
/**
* 账号ID从原axzoId迁移过来的是用来登录发消息发手机短信等使用的账号
/**
* 认证状态
*/
private VerifyStatusEnum verifyStatus;
/**
* 账号ID从原axzoId迁移过来的是用来登录发消息发手机短信等使用的账号
*/
private Long acntId;
@ -82,7 +87,7 @@ public class UserInfo {
/**
* userId=identityId身份ID
* 尽量使用上面的三个IDidentityIdpersonIdacntId
*
*
* 这个值是这样取到的
* Long oldIdentityId = ProfileIdRepair.identityNew2OldId(userInfo.getIdentityId(), userInfo.getIdentityType());
*/
@ -113,7 +118,7 @@ public class UserInfo {
@Deprecated
private Integer verifiedStatus;
/**
* 原账号ID == 现在的personId
@ -166,12 +171,12 @@ public class UserInfo {
// * 身份验证过期时间
// */
// private boolean credentialsNonExpired;
// /**
// * 原来用来传projectId的字段apollo用的最多
// */
// private Long tenantId;
// /**
// * 分包机构名称
// */
@ -203,7 +208,7 @@ public class UserInfo {
// * 项目一级总包部门Id
// */
// private Long totalAgencyId;
// /**
// * level=用户角色类型
// * public interface UserRoleType
@ -217,7 +222,7 @@ public class UserInfo {
// * 使用标准的鉴权能力尽量少用这个字段
// */
// //private String level;
// /**
// * 1: 工人 2 班组长 工人身份
// */
@ -237,9 +242,6 @@ public class UserInfo {
// * 拥有权限的url
// */
// private List<String> allUrls;
}