作者 陈志颖

docs:增加用户信息值对象

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