...
|
...
|
@@ -2,23 +2,51 @@ version: v1 |
|
|
kind: Schema
|
|
|
metadata:
|
|
|
name: users
|
|
|
description: 用户(base)
|
|
|
description: 用户
|
|
|
attributes:
|
|
|
- ref: usersId
|
|
|
required: true
|
|
|
- name: usersInfo
|
|
|
description: 用户信息
|
|
|
- ref: companyId
|
|
|
required: true
|
|
|
- ref: usersBaseId
|
|
|
required: true
|
|
|
- ref: usersType
|
|
|
required: true
|
|
|
- ref: usersCode
|
|
|
required: true
|
|
|
- name: organizationId
|
|
|
description: 组织机构
|
|
|
type:
|
|
|
primitive: int64
|
|
|
- name: departmentId
|
|
|
description: 所属部门
|
|
|
type:
|
|
|
schema: usersInfo
|
|
|
- name: phoneAuth
|
|
|
description: 手机认证
|
|
|
primitive: int64
|
|
|
- name: usersOrg
|
|
|
description: 用户关联的组织
|
|
|
type:
|
|
|
schemal: phoneAuth
|
|
|
- name: im
|
|
|
description: IM信息
|
|
|
array: org
|
|
|
- name: usersRole
|
|
|
description: 用户关联的角色
|
|
|
type:
|
|
|
schemal: im
|
|
|
array: role
|
|
|
- name: favoriteMenus
|
|
|
description: 收藏的菜单(工作台)(菜单编码列表)
|
|
|
type:
|
|
|
array: string
|
|
|
- name: cooperationInfo
|
|
|
description: 共创信息 (共创用户有效)
|
|
|
type:
|
|
|
schema: cooperationInfo
|
|
|
- name: enableStatus
|
|
|
description: 启用状态(启用:1 禁用:2)
|
|
|
type:
|
|
|
primitive: int
|
|
|
- name: ext
|
|
|
description: 扩展数据
|
|
|
type:
|
|
|
schema: ext
|
|
|
- ref: createAt
|
|
|
required: true
|
|
|
- ref: updateAt
|
|
|
required: true |
|
|
\ No newline at end of file |
|
|
required: true |
...
|
...
|
|