作者 陈志颖

docs:编辑合伙人dsl

version: v1
kind: Attribute
metadata:
name: dataSourceId
description: 订单数据来源id
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: account
description: 合伙人登录账号
name: platform
description: 订单数据来源平台
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: dataSource
description: 订单数据来源
type:
schema: dataSource
... ...
version: v1
kind: Attribute
metadata:
name: deliveryCode
description: 发货单号
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: partnerInfo
description: 合伙人信息
type:
schema: partnerInfo
... ...
version: v1
kind: Attribute
metadata:
name: partnerAccount
description: 合伙人账号
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: permissions
description: 用户权限
type:
array: int
... ...
version: v1
kind: Attribute
metadata:
name: email
description: 邮件地址
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: entryTime
description: 入职时间
type:
primitive: datetime
... ...
version: v1
kind: Attribute
metadata:
name: extension
description: 分机
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: gender
description: 性别
type:
primitive: int
\ No newline at end of file
... ...
version: v1
kind: Attribute
metadata:
name: jobNumber
description: 工号
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: privateNumber
description: 私人电话
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: workplace
description: 工作地
type:
primitive: string
... ...
version: v1
kind: Schema
metadata:
name: dataSource
description: 订单数据来源
attributes:
- ref: dataSourceId
required: true
- ref: platform
required: true
... ...
version: v1
kind: Schema
metadata:
name: orderItem
description: 订单货品
attributes:
- ref: actualNumber
required: true
- ref: dividendRatio
required: true
- ref: dividendStatus
required: true
- ref: expectNumber
required: true
- ref: itemName
required: true
- ref: itemStatistics
required: true
- ref: orderItemId
required: true
- ref: price
required: true
- ref: remarks
required: true
- ref: companyId
required: true
... ...
version: v1
kind: Schema
metadata:
name: partnerInfo
description: 合伙人信息
attributes:
- ref: partnerAccount
required: true
- ref: partnerName
required: true
- ref: regionInfo
required: true
... ...
... ... @@ -14,3 +14,17 @@ metadata:
required: true
- ref: userName
required: true
- ref: email
required: true
- ref: gender
required: true
- ref: entryTime
required: true
- ref: extension
required: true
- ref: workplace
required: true
- ref: privateNumber
required: true
- ref: jobNumber
required: true
\ No newline at end of file
... ...
... ... @@ -84,4 +84,6 @@
### 分离领域
![dispatch](http://gitlab.fjmaimaimai.com/chenzhiying/img-folder/raw/master/dispatch.png)
## 功能模块划分
## 功能模块实现
### 订单任务状态机
![order-fsm](http://gitlab.fjmaimaimai.com/chenzhiying/img-folder/raw/master/order-fsm.png)
\ No newline at end of file
... ...