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