作者 陈志颖

docs:更新README

  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: isSenior
  5 + description: 用户高管标识
  6 + type:
  7 + primitive: boolean
@@ -2,7 +2,7 @@ version: v1 @@ -2,7 +2,7 @@ version: v1
2 kind: Schema 2 kind: Schema
3 metadata: 3 metadata:
4 name: buyerInfo 4 name: buyerInfo
5 - description: 买家信息 5 + description: 买家信息值对象
6 attributes: 6 attributes:
7 - name: buyerName 7 - name: buyerName
8 description: 买家名称 8 description: 买家名称
@@ -2,7 +2,7 @@ version: v1 @@ -2,7 +2,7 @@ version: v1
2 kind: Schema 2 kind: Schema
3 metadata: 3 metadata:
4 name: dividend 4 name: dividend
5 - description: 分红 5 + description: 分红值对象
6 attributes: 6 attributes:
7 - ref: planBonus 7 - ref: planBonus
8 required: true 8 required: true
@@ -2,7 +2,7 @@ version: v1 @@ -2,7 +2,7 @@ version: v1
2 kind: Schema 2 kind: Schema
3 metadata: 3 metadata:
4 name: goods 4 name: goods
5 - description: 订单商品 5 + description: 订单商品实体
6 attributes: 6 attributes:
7 - ref: goodsId 7 - ref: goodsId
8 required: true 8 required: true
@@ -2,7 +2,7 @@ version: v1 @@ -2,7 +2,7 @@ version: v1
2 kind: Schema 2 kind: Schema
3 metadata: 3 metadata:
4 name: goodsDetail 4 name: goodsDetail
5 - description: 商品详情 5 + description: 商品详情值对象
6 attributes: 6 attributes:
7 - ref: goodsDetailId 7 - ref: goodsDetailId
8 required: true 8 required: true
@@ -2,7 +2,7 @@ version: v1 @@ -2,7 +2,7 @@ version: v1
2 kind: Schema 2 kind: Schema
3 metadata: 3 metadata:
4 name: orderDetail 4 name: orderDetail
5 - description: 订单详情 5 + description: 订单详情实体
6 attributes: 6 attributes:
7 - name: orderDetailId 7 - name: orderDetailId
8 description: 订单详情id 8 description: 订单详情id
@@ -2,7 +2,7 @@ version: v1 @@ -2,7 +2,7 @@ version: v1
2 kind: Schema 2 kind: Schema
3 metadata: 3 metadata:
4 name: orderSource 4 name: orderSource
5 - description: 订单数据来源 5 + description: 订单数据来源值对象
6 attributes: 6 attributes:
7 - ref: orderSourceId 7 - ref: orderSourceId
8 required: true 8 required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: user
  5 + description: 用户实体
  6 + attributes:
  7 + - ref: userId
  8 + required: true
  9 + - ref: permissions
  10 + required: true
  11 + - ref: companyId
  12 + required: true
  13 + - ref: userInfo
  14 + required: true
  15 + - ref: status
  16 + required: true
  17 + - ref: isSenior
  18 + required: true
@@ -2,7 +2,7 @@ version: v1 @@ -2,7 +2,7 @@ version: v1
2 kind: Schema 2 kind: Schema
3 metadata: 3 metadata:
4 name: userAuth 4 name: userAuth
5 - description: 用户认证 5 + description: 用户认证实体
6 attributes: 6 attributes:
7 - name: userAuthId 7 - name: userAuthId
8 description: 用户认证编号 8 description: 用户认证编号
@@ -2,7 +2,7 @@ version: v1 @@ -2,7 +2,7 @@ version: v1
2 kind: Schema 2 kind: Schema
3 metadata: 3 metadata:
4 name: userInfo 4 name: userInfo
5 - description: 用户信息 5 + description: 用户信息值对象
6 attributes: 6 attributes:
7 - ref: isPrincipal 7 - ref: isPrincipal
8 required: true 8 required: true
@@ -4,6 +4,8 @@ @@ -4,6 +4,8 @@
4 - [仓库地址](http://gitlab.fjmaimaimai.com/mmm-go-pp/partner01.git) 4 - [仓库地址](http://gitlab.fjmaimaimai.com/mmm-go-pp/partner01.git)
5 - [项目原型svn](svn://218.106.157.184/repo/项目文件/项目【合伙人】) 5 - [项目原型svn](svn://218.106.157.184/repo/项目文件/项目【合伙人】)
6 - [合伙人API](http://47.97.5.102:36666/project/209/interface/api) 6 - [合伙人API](http://47.97.5.102:36666/project/209/interface/api)
  7 +- [Diagram编辑地址](https://app.diagrams.net/#Hstevechan1993%2Fmmm-diagrams%2Fmain%2Fpartner01.drawio)
  8 +- [ProcessOn地址](https://www.processon.com/view/link/60365a5a1e085364c670f3f8)
7 9
8 ## 项目规范 10 ## 项目规范
9 11
@@ -52,6 +54,7 @@ @@ -52,6 +54,7 @@
52 ![partner-domain](http://gitlab.fjmaimaimai.com/chenzhiying/img-folder/raw/aac15a19a45c75f7b73432caccbd2d25f9fe9947/partner-domain.png) 54 ![partner-domain](http://gitlab.fjmaimaimai.com/chenzhiying/img-folder/raw/aac15a19a45c75f7b73432caccbd2d25f9fe9947/partner-domain.png)
53 55
54 ### 限界上下文 56 ### 限界上下文
  57 +![bounded-context](http://gitlab.fjmaimaimai.com/chenzhiying/img-folder/raw/master/partner-bounded-context.png)
55 58
56 ### 上下文映射 59 ### 上下文映射
57 60