作者 陈志颖

docs:增加货品dsl

正在显示 17 个修改的文件 包含 30 行增加19 行删除
version: v1
kind: Attribute
metadata:
name: goodDividend
description: 货品分红统计
type:
schema: goodDividend
... ...
version: v1
kind: Attribute
metadata:
name: orderItemId
name: goodId
description: 订单项id
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: itemName
name: goodName
description: 货品名称
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: itemStatistics
description: 货品相关计算
name: orderDetail
description: 订单详情
type:
schema: itemStatistics
schema: orderDetail
... ...
version: v1
kind: Schema
metadata:
name: orderItem
name: good
description: 订单货品
attributes:
- ref: actualNumber
required: true
- ref: dividendRatio
required: true
- ref: dividendStatus
required: true
- ref: expectNumber
required: true
- ref: itemName
- ref: goodDividend
required: true
- ref: dividendRatio
required: true
- ref: itemStatistics
- ref: goodId
required: true
- ref: orderItemId
- ref: goodName
required: true
- ref: price
required: true
- ref: remarks
required: true
- ref: orderId
required: true
- ref: dataSource
required: true
- ref: companyId
required: true
- name: reason
description: 原因
type:
primitive: string
... ...
version: v1
kind: Schema
metadata:
name: itemStatistics
description: 货品相关计算
name: goodDividend
description: 货品分红
attributes:
- ref: actualDividend
required: true
- ref: expectDividend
required: true
- ref: expensesDividend
required: true
- ref: receivedDividend
required: true
- ref: uncollectedDividend
required: true
- ref: expectNumber
- ref: receivedDividend
required: true
- ref: actualNumber
- ref: expensesDividend
required: true
... ...