user.yaml
1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: v1
kind: Schema
metadata:
name: user
description: 用户
attributes:
- ref: userId
required: true
- ref: companyId
required: true
- ref: userBaseId
required: true
- ref: userType
required: true
- ref: userCode
required: true
- name: organizationId
description: 组织机构
type:
primitive: int64
- name: departmentId
description: 所属部门
type:
primitive: int64
- name: userInfo
description: 用户信息 (冗余,数据存在userBase里面)
type:
schema: userInfo
- name: userOrg
description: 用户关联的组织
type:
array: org
- name: userRole
description: 用户关联的角色
type:
array: role
- name: favoriteMenus
description: 收藏的菜单(工作台)(菜单编码列表)
type:
array: string
- name: cooperationInfo
description: 共创信息 (共创用户有效)
type:
schema: cooperationInfo
- name: enableStatus
description: 状态(1:启用 2:禁用 3:注销)
type:
primitive: int
- name: ext
description: 扩展数据
type:
schema: ext
- ref: createdAt
required: true
- ref: updatedAt
required: true