creditAccount.yaml 1.0 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: 参与人
      required: true
      type:
        schema: usersBase
    - ref: paymentDocumentAttachment
      description: 支付凭证附件
      required: true
    - name: org
      description: 数据关联组织机构
      type:
        schema: orgs
    - ref: operator
      required: true
    - ref: operateTime
      required: true
    - ref: createdAt
      required: true
    - ref: updatedAt
      required: true