作者 陈志颖

docs:添加订单实体

version: v1
kind: Attribute
metadata:
name: remarks
name: remark
description: 货品备注信息
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: orderDividend
description: 订单分红统计
type:
schema: dividend
... ...
version: v1
kind: Attribute
metadata:
name: orderGoods
description: 订单货品
type:
array: good
... ...
version: v1
kind: Attribute
metadata:
name: dataSource
name: orderSource
description: 订单数据来源
type:
schema: dataSource
schema: orderSource
... ...
... ... @@ -20,7 +20,7 @@ metadata:
required: true
- ref: price
required: true
- ref: remarks
- ref: remark
required: true
- ref: orderId
required: true
... ...
version: v1
kind: Schema
metadata:
name: order
description: 订单实体
attributes:
- ref: buyer
required: true
- ref: companyId
required: true
- ref: deliveryCode
required: true
- ref: isDisable
required: true
- ref: orderCode
required: true
- ref: orderDetail
required: true
- ref: orderDividend
required: true
- ref: orderGoods
required: true
- ref: orderId
required: true
- ref: orderSource
required: true
- ref: orderType
required: true
- ref: remark
required: true
... ...
version: v1
kind: Schema
metadata:
name: dataSource
name: orderSource
description: 订单数据来源
attributes:
- ref: dataSourceId
- ref: orderSourceId
required: true
- ref: platform
required: true
... ...