作者 陈志颖

feat:增加货品计算dsl

  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: actualDividend
  5 + description: 实际分红
  6 + type:
  7 + primitive: float32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: expectDividend
  5 + description: 预计分红
  6 + type:
  7 + primitive: float32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: expensesDividend
  5 + description: 支出分红
  6 + type:
  7 + primitive: float32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: receivedDividend
  5 + description: 已收分红
  6 + type:
  7 + primitive: float32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: uncollectedDividend
  5 + description: 未收分红
  6 + type:
  7 + primitive: float32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: actualNumber
  5 + description: 调整后的实际货品数量
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: dividendRatio
  5 + description: 合伙人分红比例
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: dividendStatus
  5 + description: 合伙人分红支付转状态
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: expectNumber
  5 + description: 预定的货品数量
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: itemName
  5 + description: 货品名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: itemStatistics
  5 + description: 货品相关计算
  6 + type:
  7 + schema: itemStatistics
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: price
  5 + description: 货品单价
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: remarks
  5 + description: 货品备注信息
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: itemStatistics
  5 + description: 货品相关计算
  6 + attributes:
  7 + - ref: actualDividend
  8 + required: true
  9 + - ref: expectDividend
  10 + required: true
  11 + - ref: expensesDividend
  12 + required: true
  13 + - ref: receivedDividend
  14 + required: true
  15 + - ref: uncollectedDividend
  16 + required: true
  17 + - ref: expectNumber
  18 + required: true
  19 + - ref: actualNumber
  20 + required: true