creditAccount.yaml 1.2 KB
version: v1
kind: Schema
metadata:
  name: creditAccount
  description: 账期结算单实体
  attributes:
    - ref: creditAccountId
      required: true
    - ref: actuallyPaidAmount
      required: true
    - ref: creditAccountOrderNum
      required: true
    - ref: paymentStatus
      description: 账期结算支付状态,1待支付,2已支付
      required: true
    - ref: paymentTime
      required: true
    - ref: settlementAmount
      required: true
    - ref: settlementTime
      required: true
    - ref: cooperationContractNumber
      required: true
    - name: participator
      description: 参与人uid,包括承接人、推荐人、关联业务员
      required: true
      type:
        array: int64
    - ref: paymentDocumentAttachment
      description: 支付凭证附件
      required: true
    - name: organization
      description: 数据关联组织机构
      type:
        schema: orgsBase
    - ref: companyId
      required: true
    - ref: operator
      required: true
    - ref: operateTime
      required: true
    - ref: createdAt
      required: true
    - ref: deletedAt
      required: true
    - ref: updatedAt
      required: true