作者 陈志颖

feat:增加几种人物值对象

  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: department
  5 + description: 部门
  6 + type:
  7 + schema: department
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: organizations
  5 + description: 关联的组织机构
  6 + type:
  7 + array: organization
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: department
  5 + description: 部门值对象
  6 + attributes:
  7 + - ref: departmentId
  8 + required: true
  9 + - ref: departmentName
  10 + required: true
  11 + - ref: departmentNumber
  12 + required: true
  13 + - ref: IsOrganization
  14 + required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: referrer
  5 + description: 推荐人值对象
  6 + attributes:
  7 + - ref: userId
  8 + required: true
  9 + - ref: userBaseId
  10 + required: true
  11 + - ref: role
  12 + required: true
  13 + - ref: organizations
  14 + description: 用户关联的组织机构
  15 + required: true
  16 + - ref: organization
  17 + description: 用户所属的组织机构
  18 + required: true
  19 + - ref: department
  20 + description: 用户所属的部门
  21 + required: true
  22 + - ref: company
  23 + required: true
  24 + - ref: userInfo
  25 + required: true
  26 + - ref: userType
  27 + required: true
@@ -8,7 +8,14 @@ metadata: @@ -8,7 +8,14 @@ metadata:
8 required: true 8 required: true
9 - ref: usersBaseId 9 - ref: usersBaseId
10 required: true 10 required: true
11 - - ref: orgnization 11 + - ref: organization
  12 + description: 用户所属的组织机构
  13 + required: true
  14 + - ref: organizations
  15 + description: 用户关联的组织机构
  16 + required: true
  17 + - ref: department
  18 + description: 用户所属的部门
12 required: true 19 required: true
13 - ref: role 20 - ref: role
14 required: true 21 required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: salesman
  5 + description: 业务员值对象
  6 + attributes:
  7 + - ref: userId
  8 + required: true
  9 + - ref: userBaseId
  10 + required: true
  11 + - ref: role
  12 + required: true
  13 + - ref: organizations
  14 + description: 用户关联的组织机构
  15 + required: true
  16 + - ref: organization
  17 + description: 用户所属的组织机构
  18 + required: true
  19 + - ref: department
  20 + description: 用户所属的部门
  21 + required: true
  22 + - ref: company
  23 + required: true
  24 + - ref: userInfo
  25 + required: true
  26 + - ref: userType
  27 + required: true
@@ -9,7 +9,13 @@ metadata: @@ -9,7 +9,13 @@ metadata:
9 - ref: usersBaseId 9 - ref: usersBaseId
10 required: true 10 required: true
11 - ref: organization 11 - ref: organization
12 - description: 用户关联组织机构 12 + description: 用户所属组织机构
  13 + required: true
  14 + - ref: organizations
  15 + description: 用户关联的组织机构
  16 + required: true
  17 + - ref: department
  18 + description: 用户所属的部门
13 required: true 19 required: true
14 - ref: role 20 - ref: role
15 required: true 21 required: true
@@ -9,13 +9,20 @@ metadata: @@ -9,13 +9,20 @@ metadata:
9 - ref: usersBaseId 9 - ref: usersBaseId
10 required: true 10 required: true
11 - ref: organization 11 - ref: organization
12 - description: 用户关联组织机构 12 + description: 用户所属组织机构
13 required: true 13 required: true
  14 + - ref: organizations
  15 + description: 用户关联的组织机构
  16 + required: true
  17 + - ref: department
  18 + description: 用户所属的部门
  19 + required:
14 - ref: role 20 - ref: role
15 required: true 21 required: true
16 - ref: userInfo 22 - ref: userInfo
17 required: true 23 required: true
18 - ref: userType 24 - ref: userType
  25 + description: 用户类型
19 required: true 26 required: true
20 - ref: status 27 - ref: status
21 required: true 28 required: true