作者 Your Name

更新实体信息

正在显示 41 个修改的文件 包含 76 行增加185 行删除
@@ -4,4 +4,4 @@ metadata: @@ -4,4 +4,4 @@ metadata:
4 name: cooperationProjectPublisher 4 name: cooperationProjectPublisher
5 description: 共创项目发布人 5 description: 共创项目发布人
6 type: 6 type:
7 - schema: users 7 + schema: usersBase
@@ -18,7 +18,3 @@ metadata: @@ -18,7 +18,3 @@ metadata:
18 description: 公司状态 18 description: 公司状态
19 type: 19 type:
20 primitive: int 20 primitive: int
21 - - ref: createdAt  
22 - required: false  
23 - - ref: updatedAt  
24 - required: false  
@@ -10,10 +10,6 @@ metadata: @@ -10,10 +10,6 @@ metadata:
10 required: true 10 required: true
11 - ref: usersName 11 - ref: usersName
12 required: true 12 required: true
13 - - ref: departmentId  
14 - required: true  
15 - - ref: orgId  
16 - required: true  
17 - ref: phone 13 - ref: phone
18 required: true 14 required: true
19 - ref: status 15 - ref: status
@@ -22,6 +18,14 @@ metadata: @@ -22,6 +18,14 @@ metadata:
22 required: true 18 required: true
23 - ref: usersType 19 - ref: usersType
24 required: true 20 required: true
  21 + - name: org
  22 + description: 用户的组织
  23 + type:
  24 + schema: orgs
  25 + - name: department
  26 + description: 用户的部门
  27 + type:
  28 + schema: department
25 - name: attachment 29 - name: attachment
26 description: 附件 30 description: 附件
27 type: 31 type:
@@ -41,4 +45,4 @@ metadata: @@ -41,4 +45,4 @@ metadata:
41 - name: salesmanUser 45 - name: salesmanUser
42 description: 关联业务员信息 46 description: 关联业务员信息
43 type: 47 type:
44 - schema: users 48 + schema: usersBase
@@ -26,8 +26,8 @@ metadata: @@ -26,8 +26,8 @@ metadata:
26 - name: undertaker 26 - name: undertaker
27 description: 承接人信息 27 description: 承接人信息
28 type: 28 type:
29 - schema: contractUndertaker  
30 - - ref: orgId  
31 - required: true  
32 - - ref: orgName  
33 - required: true 29 + schema: usersBase
  30 + - name: org
  31 + description: 组织
  32 + type:
  33 + schema: orgs
@@ -26,9 +26,7 @@ metadata: @@ -26,9 +26,7 @@ metadata:
26 required: true 26 required: true
27 - ref: cooperationProjectNumber 27 - ref: cooperationProjectNumber
28 required: true 28 required: true
29 - - ref: companyId  
30 - required: true  
31 - - ref: orgName  
32 - required: true  
33 - - ref: orgId  
34 - required: true 29 + - name: org
  30 + description: 用户的组织
  31 + type:
  32 + schema: orgs
@@ -18,7 +18,5 @@ metadata: @@ -18,7 +18,5 @@ metadata:
18 required: true 18 required: true
19 - ref: updatedAt 19 - ref: updatedAt
20 required: true 20 required: true
21 - - ref: deletedAt  
22 - required: true  
23 - ref: createdAt 21 - ref: createdAt
24 required: true 22 required: true
@@ -24,4 +24,4 @@ metadata: @@ -24,4 +24,4 @@ metadata:
24 primitive: string 24 primitive: string
25 - name: referrer 25 - name: referrer
26 type: 26 type:
27 - schema: users 27 + schema: usersBase
@@ -6,11 +6,6 @@ metadata: @@ -6,11 +6,6 @@ metadata:
6 attributes: 6 attributes:
7 - ref: cooperationModeId 7 - ref: cooperationModeId
8 required: true 8 required: true
9 - - ref: companyId  
10 - required: true  
11 - - ref: orgId  
12 - required: true  
13 - - ref: orgName  
14 - ref: cooperationModeNumber 9 - ref: cooperationModeNumber
15 description: 模式编码,唯一确定 10 description: 模式编码,唯一确定
16 required: true 11 required: true
@@ -20,10 +15,6 @@ metadata: @@ -20,10 +15,6 @@ metadata:
20 - ref: status 15 - ref: status
21 description: 共创模式状态,1启用,2禁用 16 description: 共创模式状态,1启用,2禁用
22 required: true 17 required: true
23 - - name: statusName  
24 - description: 状态描述  
25 - type:  
26 - primitive: string  
27 - ref: remarks 18 - ref: remarks
28 required: true 19 required: true
29 - ref: operator 20 - ref: operator
@@ -32,7 +23,5 @@ metadata: @@ -32,7 +23,5 @@ metadata:
32 required: true 23 required: true
33 - ref: updatedAt 24 - ref: updatedAt
34 required: true 25 required: true
35 - - ref: deletedAt  
36 - required: true  
37 - ref: createdAt 26 - ref: createdAt
38 required: true 27 required: true
@@ -22,16 +22,12 @@ metadata: @@ -22,16 +22,12 @@ metadata:
22 required: true 22 required: true
23 - ref: companyId 23 - ref: companyId
24 required: true 24 required: true
25 - - ref: orgName  
26 - required: true  
27 - - ref: orgId  
28 - required: true 25 + - name: org
  26 + description: 组织
  27 + type:
  28 + schema: orgs
29 - ref: status 29 - ref: status
30 required: true 30 required: true
31 - - ref: cooperationModeName  
32 - - ref: cooperationModeNumber  
33 - description: 模式编码,唯一确定  
34 - - ref: cooperationProjectDepartment  
35 - name: cooperationMode 31 - name: cooperationMode
36 description: 共创模式 32 description: 共创模式
37 type: 33 type:
@@ -8,10 +8,6 @@ metadata: @@ -8,10 +8,6 @@ metadata:
8 required: true 8 required: true
9 - ref: status 9 - ref: status
10 required: true 10 required: true
11 - - name: statusName  
12 - description: 状态描述  
13 - type:  
14 - primitive: string  
15 - ref: usersCode 11 - ref: usersCode
16 required: true 12 required: true
17 - ref: usersId 13 - ref: usersId
@@ -21,7 +17,7 @@ metadata: @@ -21,7 +17,7 @@ metadata:
21 - name: org 17 - name: org
22 description: 用户的组织 18 description: 用户的组织
23 type: 19 type:
24 - schema: orgsBase 20 + schema: orgs
25 - ref: cooperationCompany 21 - ref: cooperationCompany
26 required: true 22 required: true
27 - ref: cooperationDeadline 23 - ref: cooperationDeadline
@@ -29,10 +29,10 @@ metadata: @@ -29,10 +29,10 @@ metadata:
29 - ref: paymentDocumentAttachment 29 - ref: paymentDocumentAttachment
30 description: 支付凭证附件 30 description: 支付凭证附件
31 required: true 31 required: true
32 - - name: organization 32 + - name: org
33 description: 数据关联组织机构 33 description: 数据关联组织机构
34 type: 34 type:
35 - schema: orgsBase 35 + schema: orgs
36 - ref: companyId 36 - ref: companyId
37 required: true 37 required: true
38 - ref: operator 38 - ref: operator
@@ -41,7 +41,5 @@ metadata: @@ -41,7 +41,5 @@ metadata:
41 required: true 41 required: true
42 - ref: createdAt 42 - ref: createdAt
43 required: true 43 required: true
44 - - ref: deletedAt  
45 - required: true  
46 - ref: updatedAt 44 - ref: updatedAt
47 required: true 45 required: true
@@ -28,7 +28,7 @@ metadata: @@ -28,7 +28,7 @@ metadata:
28 - name: organization 28 - name: organization
29 description: 数据关联组织机构 29 description: 数据关联组织机构
30 type: 30 type:
31 - schema: orgsBase 31 + schema: orgs
32 - ref: companyId 32 - ref: companyId
33 required: true 33 required: true
34 - ref: operator 34 - ref: operator
@@ -37,7 +37,5 @@ metadata: @@ -37,7 +37,5 @@ metadata:
37 required: true 37 required: true
38 - ref: createdAt 38 - ref: createdAt
39 required: true 39 required: true
40 - - ref: deletedAt  
41 - required: true  
42 - ref: updatedAt 40 - ref: updatedAt
43 required: true 41 required: true
@@ -20,7 +20,5 @@ metadata: @@ -20,7 +20,5 @@ metadata:
20 required: true 20 required: true
21 - ref: updatedAt 21 - ref: updatedAt
22 required: true 22 required: true
23 - - ref: deletedAt  
24 - required: true  
25 - ref: createdAt 23 - ref: createdAt
26 required: true 24 required: true
@@ -27,8 +27,6 @@ metadata: @@ -27,8 +27,6 @@ metadata:
27 required: true 27 required: true
28 - ref: createdAt 28 - ref: createdAt
29 required: true 29 required: true
30 - - ref: deletedAt  
31 - required: true  
32 - ref: updatedAt 30 - ref: updatedAt
33 required: true 31 required: true
34 - ref: operateTime 32 - ref: operateTime
@@ -34,8 +34,6 @@ metadata: @@ -34,8 +34,6 @@ metadata:
34 required: true 34 required: true
35 - ref: createdAt 35 - ref: createdAt
36 required: true 36 required: true
37 - - ref: deletedAt  
38 - required: true  
39 - ref: updatedAt 37 - ref: updatedAt
40 required: true 38 required: true
41 - ref: operator 39 - ref: operator
@@ -14,8 +14,6 @@ metadata: @@ -14,8 +14,6 @@ metadata:
14 required: true 14 required: true
15 - ref: code 15 - ref: code
16 required: true 16 required: true
17 - - ref: accessCode  
18 - required: true  
19 - ref: menuType 17 - ref: menuType
20 required: true 18 required: true
21 - ref: icon 19 - ref: icon
@@ -28,8 +26,3 @@ metadata: @@ -28,8 +26,3 @@ metadata:
28 description: 菜单类别 (web:1、app:2) 26 description: 菜单类别 (web:1、app:2)
29 type: 27 type:
30 primitive: string 28 primitive: string
31 - - ref: enableStatus  
32 - description: 启用状态(启用:1 禁用:0)  
33 - required: true  
34 - - ref: isPublish  
35 - required: true  
1 -version: v1  
2 -kind: Schema  
3 -metadata:  
4 - name: menuBase  
5 - description: 系统菜单基础信息  
6 - attributes:  
7 - - ref: menuId  
8 - required: true  
9 - - ref: parentId  
10 - required: true  
11 - - ref: menuName  
12 - required: true  
13 - - ref: menuType  
14 - required: true  
15 - - ref: sort  
16 - required: true  
17 - description: 菜单类别 (web:1、app:2)  
18 - type:  
19 - primitive: string  
@@ -4,8 +4,6 @@ metadata: @@ -4,8 +4,6 @@ metadata:
4 name: noticeSetting 4 name: noticeSetting
5 description: 编排消息通知内容 5 description: 编排消息通知内容
6 attributes: 6 attributes:
7 - - ref: companyId  
8 - required: true  
9 - ref: content 7 - ref: content
10 required: true 8 required: true
11 - ref: isPush 9 - ref: isPush
@@ -16,13 +14,9 @@ metadata: @@ -16,13 +14,9 @@ metadata:
16 required: true 14 required: true
17 - ref: noticeSettingId 15 - ref: noticeSettingId
18 required: true 16 required: true
19 - - ref: organizationId  
20 - required: true  
21 - ref: sysCode 17 - ref: sysCode
22 required: true 18 required: true
23 - ref: createdAt 19 - ref: createdAt
24 required: true 20 required: true
25 - - ref: deletedAt  
26 - required: true  
27 - ref: updatedAt 21 - ref: updatedAt
28 required: true 22 required: true
@@ -24,7 +24,5 @@ metadata: @@ -24,7 +24,5 @@ metadata:
24 required: true 24 required: true
25 - ref: createdAt 25 - ref: createdAt
26 required: true 26 required: true
27 - - ref: deletedAt  
28 - required: true  
29 - ref: updatedAt 27 - ref: updatedAt
30 required: true 28 required: true
@@ -8,12 +8,6 @@ metadata: @@ -8,12 +8,6 @@ metadata:
8 required: true 8 required: true
9 - ref: companyId 9 - ref: companyId
10 required: true 10 required: true
11 - - ref: createdAt  
12 - required: true  
13 - - ref: updatedAt  
14 - required: true  
15 - - ref: deletedAt  
16 - required: true  
17 - ref: orgCode 11 - ref: orgCode
18 required: true 12 required: true
19 - ref: orgName 13 - ref: orgName
@@ -22,5 +16,3 @@ metadata: @@ -22,5 +16,3 @@ metadata:
22 required: true 16 required: true
23 - ref: parentId 17 - ref: parentId
24 required: true 18 required: true
25 - - ref: parentName  
26 - required: true  
1 -version: v1  
2 -kind: Schema  
3 -metadata:  
4 - name: orgsBase  
5 - description: 组织organization基础值对象  
6 - attributes:  
7 - - ref: orgId  
8 - required: true  
9 - - ref: orgCode  
10 - required: true  
11 - - ref: orgName  
12 - required: true  
@@ -6,13 +6,15 @@ metadata: @@ -6,13 +6,15 @@ metadata:
6 attributes: 6 attributes:
7 - ref: roleId 7 - ref: roleId
8 required: true 8 required: true
9 - - ref: companyId  
10 - required: true  
11 - - ref: orgId  
12 - required: true  
13 - - ref: orgName  
14 - required: true  
15 - ref: roleName 9 - ref: roleName
16 required: true 10 required: true
17 - ref: desc 11 - ref: desc
18 required: true 12 required: true
  13 + - name: org
  14 + description: 用户的组织
  15 + type:
  16 + schema: orgs
  17 + - name: department
  18 + description: 用户的部门
  19 + type:
  20 + schema: department
1 version: v1 1 version: v1
2 kind: Schema 2 kind: Schema
3 metadata: 3 metadata:
4 - name: users  
5 - description: 用户 4 + name: usersBase
  5 + description: 用户基础信息
6 attributes: 6 attributes:
7 - - ref: createdAt  
8 - required: true  
9 - - ref: deletedAt  
10 - required: true  
11 - - ref: updatedAt  
12 - required: true  
13 - - ref: avator  
14 - required: true  
15 - - ref: cooperationCompany  
16 - required: true  
17 - - ref: cooperationDeadline  
18 - required: true  
19 - - ref: email  
20 - required: true  
21 - - ref: enableStatus  
22 - required: true  
23 - - ref: favoriteMenus  
24 - required: true  
25 - ref: phone 7 - ref: phone
26 required: true 8 required: true
27 - ref: status 9 - ref: status
28 required: true 10 required: true
29 - - name: statusName  
30 - description: 状态描述  
31 - type:  
32 - primitive: string  
33 - ref: usersCode 11 - ref: usersCode
34 required: true 12 required: true
35 - ref: usersId 13 - ref: usersId
36 required: true 14 required: true
37 - - ref: companyId  
38 - required: true  
39 - - ref: orgId  
40 - required: true  
41 - ref: usersName 15 - ref: usersName
42 required: true 16 required: true
43 - - ref: usersOrg 17 + - name: org
  18 + description: 用户的组织
  19 + type:
  20 + schema: orgs
  21 + - name: department
  22 + description: 用户的部门
  23 + type:
  24 + schema: department
  25 + - ref: email
44 required: true 26 required: true
45 - - ref: usersRole 27 + - ref: cooperationCompany
46 required: true 28 required: true
47 - - ref: usersType 29 + - ref: cooperationDeadline
48 required: true 30 required: true
@@ -8,21 +8,15 @@ metadata: @@ -8,21 +8,15 @@ metadata:
8 required: true 8 required: true
9 - ref: status 9 - ref: status
10 required: true 10 required: true
11 - - name: statusName  
12 - description: 状态描述  
13 - type:  
14 - primitive: string  
15 - ref: usersCode 11 - ref: usersCode
16 required: true 12 required: true
17 - ref: usersId 13 - ref: usersId
18 required: true 14 required: true
19 - ref: usersName 15 - ref: usersName
20 required: true 16 required: true
21 - - name: org  
22 - description: 用户的组织  
23 - type:  
24 - schema: orgsBase  
25 - - name: department  
26 - description: 用户的部门  
27 - type:  
28 - schema: department 17 + - ref: email
  18 + required: true
  19 + - ref: cooperationCompany
  20 + required: true
  21 + - ref: cooperationDeadline
  22 + required: true
@@ -29,7 +29,7 @@ metadata: @@ -29,7 +29,7 @@ metadata:
29 - name: user 29 - name: user
30 description: 用户信息 30 description: 用户信息
31 type: 31 type:
32 - schema: users 32 + schema: usersBase
33 - name: orgs 33 - name: orgs
34 description: 可选组织列表 34 description: 可选组织列表
35 type: 35 type:
@@ -17,4 +17,4 @@ metadata: @@ -17,4 +17,4 @@ metadata:
17 array: contractUndertaker 17 array: contractUndertaker
18 - name: relevant 18 - name: relevant
19 type: 19 type:
20 - array: users 20 + array: usersBase
@@ -21,4 +21,4 @@ metadata: @@ -21,4 +21,4 @@ metadata:
21 - name: orgs 21 - name: orgs
22 description: 可选组织列表 22 description: 可选组织列表
23 type: 23 type:
24 - array: orgsBase 24 + array: orgs
@@ -7,5 +7,5 @@ metadata: @@ -7,5 +7,5 @@ metadata:
7 result: 7 result:
8 - name: menus 8 - name: menus
9 type: 9 type:
10 - array: menuBase 10 + array: menu
11 required: true 11 required: true
@@ -16,5 +16,5 @@ metadata: @@ -16,5 +16,5 @@ metadata:
16 result: 16 result:
17 - name: menus 17 - name: menus
18 type: 18 type:
19 - schema: menuBase 19 + schema: menu
20 required: true 20 required: true
@@ -14,7 +14,7 @@ metadata: @@ -14,7 +14,7 @@ metadata:
14 required: true 14 required: true
15 - name: menus 15 - name: menus
16 type: 16 type:
17 - array: menuBase 17 + array: menu
18 - name: users 18 - name: users
19 type: 19 type:
20 array: usersBase 20 array: usersBase
@@ -14,4 +14,4 @@ metadata: @@ -14,4 +14,4 @@ metadata:
14 required: true 14 required: true
15 - name: menus 15 - name: menus
16 type: 16 type:
17 - array: menuBase 17 + array: menu
@@ -11,4 +11,4 @@ metadata: @@ -11,4 +11,4 @@ metadata:
11 required: true 11 required: true
12 - name: orgs 12 - name: orgs
13 type: 13 type:
14 - array: orgsBase 14 + array: orgs
@@ -13,10 +13,10 @@ metadata: @@ -13,10 +13,10 @@ metadata:
13 schema: usersBase 13 schema: usersBase
14 - name: userOrg 14 - name: userOrg
15 type: 15 type:
16 - array: orgsBase 16 + array: orgs
17 - name: userRole 17 - name: userRole
18 type: 18 type:
19 array: roles 19 array: roles
20 - name: userMenu 20 - name: userMenu
21 type: 21 type:
22 - array: menuBase 22 + array: menu
@@ -30,7 +30,7 @@ metadata: @@ -30,7 +30,7 @@ metadata:
30 - ref: avator 30 - ref: avator
31 required: true 31 required: true
32 result: 32 result:
33 - - name: usersId 33 + - name: user
34 type: 34 type:
35 - primitive: int64 35 + schemas: userBase
36 required: true 36 required: true
@@ -15,5 +15,5 @@ metadata: @@ -15,5 +15,5 @@ metadata:
15 result: 15 result:
16 - name: users 16 - name: users
17 type: 17 type:
18 - schema: users 18 + schema: usersBase
19 required: true 19 required: true
@@ -14,5 +14,5 @@ metadata: @@ -14,5 +14,5 @@ metadata:
14 required: true 14 required: true
15 - name: userList 15 - name: userList
16 type: 16 type:
17 - array: usersBase 17 + array: users
18 required: true 18 required: true
@@ -50,7 +50,7 @@ metadata: @@ -50,7 +50,7 @@ metadata:
50 type: 50 type:
51 primitive: string 51 primitive: string
52 result: 52 result:
53 - - name: usersId 53 + - name: user
54 type: 54 type:
55 - primitive: int64 55 + schema: users
56 required: true 56 required: true
@@ -15,5 +15,5 @@ metadata: @@ -15,5 +15,5 @@ metadata:
15 result: 15 result:
16 - name: users 16 - name: users
17 type: 17 type:
18 - schema: users 18 + schema: usersBase
19 required: true 19 required: true
@@ -11,4 +11,4 @@ metadata: @@ -11,4 +11,4 @@ metadata:
11 - name: user 11 - name: user
12 description: 共创用户信息 12 description: 共创用户信息
13 type: 13 type:
14 - schema: cooperationUser 14 + schema: usersBase
@@ -14,5 +14,5 @@ metadata: @@ -14,5 +14,5 @@ metadata:
14 required: true 14 required: true
15 - name: userList 15 - name: userList
16 type: 16 type:
17 - array: cooperationUser 17 + array: usersBase
18 required: true 18 required: true
@@ -20,7 +20,7 @@ metadata: @@ -20,7 +20,7 @@ metadata:
20 - ref: email 20 - ref: email
21 required: true 21 required: true
22 result: 22 result:
23 - - name: usersId 23 + - name: user
24 type: 24 type:
25 - primitive: int64 25 + schema: userBase
26 required: true 26 required: true