作者 陈志颖

docs:订单商品dsl调整

正在显示 21 个修改的文件 包含 28 行增加14 行删除
version: v1
kind: Attribute
metadata:
name: goodDividend
name: goodsDividend
description: 货品分红统计
type:
schema: goodDividend
schema: goodsDividend
... ...
version: v1
kind: Attribute
metadata:
name: goodId
name: goodsId
description: 订单项id
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: goodName
name: goodsName
description: 货品名称
type:
primitive: string
... ...
... ... @@ -4,4 +4,4 @@ metadata:
name: orderGoods
description: 订单货品
type:
array: good
array: goods
... ...
version: v1
kind: Attribute
metadata:
name: orderCode
name: orderNo
description: 订单编号
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: num
description: 数量
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: itemId
name: goodsId
description: 货品id
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: operator
description: 操作者
type:
schema: userInfo
... ...
version: v1
kind: Schema
metadata:
name: good
description: 订单货品
name: goods
description: 订单商品
attributes:
- ref: goodsId
required: true
- ref: actualNumber
required: true
- ref: dividendStatus
required: true
- ref: expectNumber
required: true
- ref: goodDividend
- ref: goodsDividend
required: true
- ref: dividendRatio
required: true
- ref: goodId
required: true
- ref: goodName
- ref: goodsName
required: true
- ref: price
required: true
... ...
version: v1
kind: Schema
metadata:
name: goodDividend
name: goodsDividend
description: 货品分红
attributes:
- ref: actualDividend
... ...