作者 陈志颖

feat:增加几种人物值对象

version: v1
kind: Attribute
metadata:
name: department
description: 部门
type:
schema: department
... ...
version: v1
kind: Attribute
metadata:
name: organizations
description: 关联的组织机构
type:
array: organization
... ...
version: v1
kind: Schema
metadata:
name: department
description: 部门值对象
attributes:
- ref: departmentId
required: true
- ref: departmentName
required: true
- ref: departmentNumber
required: true
- ref: IsOrganization
required: true
... ...
version: v1
kind: Schema
metadata:
name: referrer
description: 推荐人值对象
attributes:
- ref: userId
required: true
- ref: userBaseId
required: true
- ref: role
required: true
- ref: organizations
description: 用户关联的组织机构
required: true
- ref: organization
description: 用户所属的组织机构
required: true
- ref: department
description: 用户所属的部门
required: true
- ref: company
required: true
- ref: userInfo
required: true
- ref: userType
required: true
... ...
... ... @@ -8,7 +8,14 @@ metadata:
required: true
- ref: usersBaseId
required: true
- ref: orgnization
- ref: organization
description: 用户所属的组织机构
required: true
- ref: organizations
description: 用户关联的组织机构
required: true
- ref: department
description: 用户所属的部门
required: true
- ref: role
required: true
... ...
version: v1
kind: Schema
metadata:
name: salesman
description: 业务员值对象
attributes:
- ref: userId
required: true
- ref: userBaseId
required: true
- ref: role
required: true
- ref: organizations
description: 用户关联的组织机构
required: true
- ref: organization
description: 用户所属的组织机构
required: true
- ref: department
description: 用户所属的部门
required: true
- ref: company
required: true
- ref: userInfo
required: true
- ref: userType
required: true
... ...
... ... @@ -9,7 +9,13 @@ metadata:
- ref: usersBaseId
required: true
- ref: organization
description: 用户关联组织机构
description: 用户所属组织机构
required: true
- ref: organizations
description: 用户关联的组织机构
required: true
- ref: department
description: 用户所属的部门
required: true
- ref: role
required: true
... ...
... ... @@ -9,13 +9,20 @@ metadata:
- ref: usersBaseId
required: true
- ref: organization
description: 用户关联组织机构
description: 用户所属组织机构
required: true
- ref: organizations
description: 用户关联的组织机构
required: true
- ref: department
description: 用户所属的部门
required:
- ref: role
required: true
- ref: userInfo
required: true
- ref: userType
description: 用户类型
required: true
- ref: status
required: true
... ...