作者 陈志颖

docs:订单商品dsl调整

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