作者 陈志颖

docs:增加用户信息值对象

version: v1
kind: Attribute
metadata:
name: description
description: 描述
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: itemId
description: 货品id
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: operatingTime
description: 操作时间
type:
primitive: datetime
... ...
version: v1
kind: Attribute
metadata:
name: operation
description: 操作
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: source
description: 操作来源
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: satesman
name: salesman
description: 关联业务员
type:
schema: salesman
... ...
version: v1
kind: Attribute
metadata:
name: userId
description: 用户id
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: userInfo
description: 用户信息
type:
schema: userInfo
... ...
version: v1
kind: Attribute
metadata:
name: isPrincipal
description: 是否是公司负责人
type:
primitive: boolean
... ...
version: v1
kind: Attribute
metadata:
name: uid
description: 统一用户id
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: userAccount
description: 用户账号
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: userAvatarUrl
description: 用户头像URL
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: userName
description: 用户名称
type:
primitive: string
... ...
version: v1
kind: Schema
metadata:
name: userInfo
description: 用户信息
attributes:
- ref: isPrincipal
required: true
- ref: uid
required: true
- ref: userAccount
required: true
- ref: userAvatarUrl
required: true
- ref: userName
required: true
... ...
... ... @@ -47,8 +47,6 @@
└─vendor 包缓存
```
## 功能模块划分
## 领域驱动设计-战略建模
### 领域
![partner-domain](http://gitlab.fjmaimaimai.com/chenzhiying/img-folder/raw/aac15a19a45c75f7b73432caccbd2d25f9fe9947/partner-domain.png)
... ... @@ -85,3 +83,5 @@
### 分离领域
![dispatch](http://gitlab.fjmaimaimai.com/chenzhiying/img-folder/raw/master/dispatch.png)
## 功能模块划分
... ...