作者 tangxuhui

更新 组织 、 用户

... ... @@ -4,25 +4,25 @@ metadata:
name: organization (base)
description: 组织
attributes:
- ref: organizationId
required: true
- ref: companyId
required: true
- ref: createAt
required: true
- ref: updateAt
required: true
- ref: deleteAt
required: true
- name: organizationInfo
description: 组织信息
type:
schema: organizationInfo
- name: isOrg
description: 是否是组织
type:
primitive: int
- name: parentId
description: 父级ID
type:
primitive: int64
- ref: organizationId
required: true
- ref: companyId
required: true
- ref: createAt
required: true
- ref: updateAt
required: true
- ref: deleteAt
required: true
- ref: organizationCode
required: true
- ref: organizationName
required: true
- name: isOrg
description: 是否是组织
type:
primitive: int
- name: parentId
description: 父级ID
type:
primitive: int64
... ...
... ... @@ -4,43 +4,45 @@ metadata:
name: users
description: 用户 (base)
attributes:
- ref: usersId
required: true
- ref: companyId
required: true
- ref: usersType
required: true
- ref: createAt
required: true
- ref: updateAt
required: true
- ref: deleteAt
required: true
- name: usersStatus
description: 用户状态(启用:1 禁用:2)
type:
primitive: int
- name: usersInfo
description: 用户信息
type:
schema: usersInfo
- name: organization
description: 组织机构
type:
primitive: int64
- name: department
description: 所属部门
type:
primitive: int64
- name: organizationRoles
description: 组织权限列表
type:
array: organizationRole
- name: collectedMenus
description: 收藏的菜单(工作台)
type:
array: access
- name: cooperationInfo
description: 共创信息 (共创用户有效)
type:
primitive: cooperationInfo
- ref: usersId
required: true
- ref: companyId
required: true
- ref: usersAuthId
required: true
- ref: usersType
required: true
- ref: createAt
required: true
- ref: updateAt
required: true
- ref: deleteAt
required: true
- name: usersStatus
description: 用户状态(启用:1 禁用:2)
type:
primitive: int
- name: usersInfo
description: 用户信息
type:
schema: usersInfo
- name: organization
description: 组织机构
type:
primitive: int64
- name: department
description: 所属部门
type:
primitive: int64
- name: organizationRoles
description: 组织权限列表
type:
array: organizationRole
- name: collectedMenus
description: 收藏的菜单(工作台)
type:
array: access
- name: cooperationInfo
description: 共创信息 (共创用户有效)
type:
primitive: cooperationInfo
... ...
... ... @@ -4,17 +4,13 @@ metadata:
name: usersAuth
description: 用户认证 (base)
attributes:
- ref: usersAuthId
required: true
- name: users
description: 用户列表
type:
array: int64
- name: phoneAuth
description: 手机认证
type:
schemal: phoneAuth
- name: credentialAuths
description: 凭证认证
type:
array: credentialAuth
- ref: usersAuthId
required: true
- name: phoneAuth
description: 手机认证
type:
schemal: phoneAuth
- name: credentialAuths
description: 凭证认证
type:
array: credentialAuth
... ...