正在显示
41 个修改的文件
包含
139 行增加
和
248 行删除
@@ -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 |
@@ -4,21 +4,19 @@ metadata: | @@ -4,21 +4,19 @@ metadata: | ||
4 | name: cooperationContractChangeLog | 4 | name: cooperationContractChangeLog |
5 | description: 共创合约变更日志 | 5 | description: 共创合约变更日志 |
6 | attributes: | 6 | attributes: |
7 | - - ref: incentivesRule | ||
8 | - required: true | ||
9 | - - ref: incentivesRuleDetail | ||
10 | - required: true | ||
11 | - - ref: operationType | ||
12 | - required: true | ||
13 | - - ref: cooperationContractNumber | ||
14 | - required: true | ||
15 | - - ref: undertakers | ||
16 | - required: true | ||
17 | - - ref: operator | ||
18 | - required: true | ||
19 | - - ref: updatedAt | ||
20 | - required: true | ||
21 | - - ref: deletedAt | ||
22 | - required: true | ||
23 | - - ref: createdAt | ||
24 | - required: true | 7 | + - ref: incentivesRule |
8 | + required: true | ||
9 | + - ref: incentivesRuleDetail | ||
10 | + required: true | ||
11 | + - ref: operationType | ||
12 | + required: true | ||
13 | + - ref: cooperationContractNumber | ||
14 | + required: true | ||
15 | + - ref: undertakers | ||
16 | + required: true | ||
17 | + - ref: operator | ||
18 | + required: true | ||
19 | + - ref: updatedAt | ||
20 | + required: true | ||
21 | + - ref: createdAt | ||
22 | + required: true |
@@ -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 |
@@ -4,23 +4,21 @@ metadata: | @@ -4,23 +4,21 @@ metadata: | ||
4 | name: dividendsIncentivesRules | 4 | name: dividendsIncentivesRules |
5 | description: 金额激励规则实体 | 5 | description: 金额激励规则实体 |
6 | attributes: | 6 | attributes: |
7 | - - ref: dividendsIncentivesRuleId | ||
8 | - required: true | ||
9 | - - ref: referrerPercentage | ||
10 | - required: true | ||
11 | - - ref: salesmanPercentage | ||
12 | - required: true | ||
13 | - - ref: dividendsIncentivesPercentage | ||
14 | - required: true | ||
15 | - - ref: dividendsIncentivesStage | ||
16 | - required: true | ||
17 | - - ref: dividendsIncentivesStageEnd | ||
18 | - required: true | ||
19 | - - ref: dividendsIncentivesStageStart | ||
20 | - required: true | ||
21 | - - ref: updatedAt | ||
22 | - required: true | ||
23 | - - ref: deletedAt | ||
24 | - required: true | ||
25 | - - ref: createdAt | ||
26 | - required: true | 7 | + - ref: dividendsIncentivesRuleId |
8 | + required: true | ||
9 | + - ref: referrerPercentage | ||
10 | + required: true | ||
11 | + - ref: salesmanPercentage | ||
12 | + required: true | ||
13 | + - ref: dividendsIncentivesPercentage | ||
14 | + required: true | ||
15 | + - ref: dividendsIncentivesStage | ||
16 | + required: true | ||
17 | + - ref: dividendsIncentivesStageEnd | ||
18 | + required: true | ||
19 | + - ref: dividendsIncentivesStageStart | ||
20 | + required: true | ||
21 | + - ref: updatedAt | ||
22 | + required: true | ||
23 | + - ref: createdAt | ||
24 | + required: true |
@@ -4,34 +4,32 @@ metadata: | @@ -4,34 +4,32 @@ metadata: | ||
4 | name: dividendsOrder | 4 | name: dividendsOrder |
5 | description: 分红订单实体 | 5 | description: 分红订单实体 |
6 | attributes: | 6 | attributes: |
7 | - - ref: dividendsOrderId | ||
8 | - required: true | ||
9 | - - ref: dividendsOrderNumber | ||
10 | - required: true | ||
11 | - - ref: dividendsOriginalOrderNum | ||
12 | - required: true | ||
13 | - - ref: dividendsOrderAmount | ||
14 | - required: true | ||
15 | - - ref: orderSalesman | ||
16 | - required: true | ||
17 | - - ref: orderTime | ||
18 | - required: true | ||
19 | - - ref: dividendTime | ||
20 | - required: true | ||
21 | - - ref: dividendStatus | ||
22 | - required: true | ||
23 | - - ref: region | ||
24 | - required: true | ||
25 | - - ref: customerName | ||
26 | - description: 客户姓名 | ||
27 | - required: true | ||
28 | - - ref: createdAt | ||
29 | - required: true | ||
30 | - - ref: deletedAt | ||
31 | - required: true | ||
32 | - - ref: updatedAt | ||
33 | - required: true | ||
34 | - - ref: operateTime | ||
35 | - required: true | ||
36 | - - ref: operator | ||
37 | - required: true | 7 | + - ref: dividendsOrderId |
8 | + required: true | ||
9 | + - ref: dividendsOrderNumber | ||
10 | + required: true | ||
11 | + - ref: dividendsOriginalOrderNum | ||
12 | + required: true | ||
13 | + - ref: dividendsOrderAmount | ||
14 | + required: true | ||
15 | + - ref: orderSalesman | ||
16 | + required: true | ||
17 | + - ref: orderTime | ||
18 | + required: true | ||
19 | + - ref: dividendTime | ||
20 | + required: true | ||
21 | + - ref: dividendStatus | ||
22 | + required: true | ||
23 | + - ref: region | ||
24 | + required: true | ||
25 | + - ref: customerName | ||
26 | + description: 客户姓名 | ||
27 | + required: true | ||
28 | + - ref: createdAt | ||
29 | + required: true | ||
30 | + - ref: updatedAt | ||
31 | + required: true | ||
32 | + - ref: operateTime | ||
33 | + required: true | ||
34 | + - ref: operator | ||
35 | + required: true |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -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 |
-
请 注册 或 登录 后发表评论