作者 陈志颖

feat:添加分红预算单实体

@@ -2,6 +2,6 @@ version: v1 @@ -2,6 +2,6 @@ version: v1
2 kind: Attribute 2 kind: Attribute
3 metadata: 3 metadata:
4 name: creditAccountId 4 name: creditAccountId
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: dividendsAccountStatus
  5 + description: 分红结算状态,1待结算,2已结算
  6 + type:
  7 + primitive: int32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: dividendsAmount
  5 + description: 分红金额
  6 + type:
  7 + primitive: float64
@@ -2,6 +2,6 @@ version: v1 @@ -2,6 +2,6 @@ version: v1
2 kind: Attribute 2 kind: Attribute
3 metadata: 3 metadata:
4 name: dividendsEstimateId 4 name: dividendsEstimateId
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: dividendsEstimateOrderNumber
  5 + description: 承接人分红预算单号
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: dividendsEstimateTime
  5 + description: 分红预算时间
  6 + type:
  7 + primitive: datetime
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: dividendsParticipateType
  5 + description: 参与分红类型,1承接人,2推荐人,3关联业务员
  6 + type:
  7 + primitive: int32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: dividendsType
  5 + description: 分红类型,1订单分红,2退货冲销,3金额激励
  6 + type:
  7 + primitive: int32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: dividendsUser
  5 + description: 分红用户
  6 + type:
  7 + schema: user
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: orderOrReturnedOrderNum
  5 + description: 分红订单号或退货单号
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: dividendsEstimate
  5 + description: 分红预算实体
  6 + attributes:
  7 + - ref: dividendsEstimateId
  8 + required: true
  9 + - ref: dividendsAccountStatus
  10 + required: true
  11 + - ref: dividendsAmount
  12 + required: true
  13 + - ref: dividendsEstimateOrderNumber
  14 + required: true
  15 + - ref: dividendsEstimateTime
  16 + required: true
  17 + - ref: dividendsParticipateType
  18 + required: true
  19 + - ref: dividendsType
  20 + required: true
  21 + - ref: orderOrReturnedOrderNum
  22 + required: true
  23 + - ref: operator
  24 + required: true
  25 + - ref: operateTime
  26 + required: true
  27 + - ref: cooperationProjectNumber
  28 + required: true
  29 + - ref: dividendsUser
  30 + required: true
  31 + - ref: createdAt
  32 + required: true
  33 + - ref: deletedAt
  34 + required: true
  35 + - ref: updatedAt
  36 + required: true