作者 陈志颖

feat:生成基础框架代码

正在显示 100 个修改的文件 包含 1043 行增加0 行删除

要显示太多修改。

为保证性能只显示 100 of 100+ 个文件。

不能预览此文件类型
  1 +FROM golang:latest
  2 +MAINTAINER 陈志颖 <steve.d.chan@qq.com>
  3 +ENV APP_DIR $GOPATH/src/allied-creation-cooperation
  4 +RUN mkdir -p $APP_DIR
  5 +WORKDIR $APP_DIR/
  6 +COPY ./pkg pkg
  7 +COPY ./conf conf
  8 +COPY ./go.mod go.mod
  9 +COPY ./go.sum go.sum
  10 +COPY ./main.go main.go
  11 +RUN ["ln","-sf","/usr/share/zoneinfo/Asia/Shanghai","/etc/localtime"]
  12 +ENV GO111MODULE on
  13 +ENV GOPROXY https://goproxy.io
  14 +RUN ["go","mod","tidy"]
  15 +RUN ["ls"]
  16 +RUN ["go","build"]
  17 +ENTRYPOINT ["./allied-creation-cooperation"]
  1 +apiVersion: v1
  2 +kind: Service
  3 +metadata:
  4 + name: allied-creation-cooperation
  5 + namespace: <replace-your-k8s-namespace>
  6 + labels:
  7 + k8s-app: allied-creation-cooperation
  8 +spec:
  9 + ports:
  10 + - name: "http"
  11 + port: 80
  12 + targetPort: 8082
  13 + selector:
  14 + k8s-app: allied-creation-cooperation
  15 +---
  16 +apiVersion: extensions/v1beta1
  17 +kind: Deployment
  18 +metadata:
  19 + name: allied-creation-cooperation
  20 + namespace: <replace-your-k8s-namespace>
  21 + labels:
  22 + k8s-app: allied-creation-cooperation
  23 +spec:
  24 + replicas: 1
  25 + template:
  26 + metadata:
  27 + labels:
  28 + k8s-app: allied-creation-cooperation
  29 + spec:
  30 + affinity:
  31 + nodeAffinity:
  32 + preferredDuringSchedulingIgnoredDuringExecution:
  33 + - preference: {}
  34 + weight: 100
  35 + requiredDuringSchedulingIgnoredDuringExecution:
  36 + nodeSelectorTerms:
  37 + - matchExpressions:
  38 + - key: kubernetes.io/hostname
  39 + operator: In
  40 + values:
  41 + - cn-hangzhou.i-bp1djh1xn7taumbue1ze
  42 + - cn-hangzhou.i-bp1djh1xn7taumbue1zd
  43 + - cn-hangzhou.i-bp1euf5u1ph9kbhtndhb
  44 + - cn-hangzhou.i-bp1hyp5oips9cdwxxgxy
  45 + containers:
  46 + - name: allied-creation-cooperation
  47 + image: 192.168.0.243:5000/mmm/allied-creation-cooperation:dev
  48 + imagePullPolicy: Always
  49 + ports:
  50 + - containerPort: 8082
  51 + volumeMounts:
  52 + - mountPath: /opt/logs
  53 + name: accesslogs
  54 + env:
  55 + - name: LOG_LEVEL
  56 + value: "debug"
  57 + - name: ERROR_BASE_CODE
  58 + value: "1"
  59 + - name: ERROR_BASE_CODE_MULTIPLE
  60 + value: "1000"
  61 + volumes:
  62 + - name: accesslogs
  63 + emptyDir: {}
  1 +#!/bin/bash
  2 +export PATH=/root/local/bin:$PATH
  3 +kubectl -n <replace-your-k8s-namespace> get pods | grep -q allied-creation-cooperation
  4 +if [ "$?" == "1" ];then
  5 + kubectl create -f /tmp/dev/allied-creation-cooperation/allied-creation-cooperation.yaml --record
  6 + kubectl -n <replace-your-k8s-namespace> get svc | grep -q allied-creation-cooperation
  7 + if [ "$?" == "0" ];then
  8 + echo "allied-creation-cooperation service install success!"
  9 + else
  10 + echo "allied-creation-cooperation service install fail!"
  11 + fi
  12 + kubectl -n <replace-your-k8s-namespace> get pods | grep -q allied-creation-cooperation
  13 + if [ "$?" == "0" ];then
  14 + echo "allied-creation-cooperation deployment install success!"
  15 + else
  16 + echo "allied-creation-cooperation deployment install fail!"
  17 + fi
  18 +else
  19 + kubectl delete -f /tmp/dev/allied-creation-cooperation/allied-creation-cooperation.yaml
  20 + kubectl -n <replace-your-k8s-namespace> get svc | grep -q allied-creation-cooperation
  21 + while [ "$?" == "0" ]
  22 + do
  23 + kubectl -n <replace-your-k8s-namespace> get svc | grep -q allied-creation-cooperation
  24 + done
  25 + kubectl -n <replace-your-k8s-namespace> get pods | grep -q allied-creation-cooperation
  26 + while [ "$?" == "0" ]
  27 + do
  28 + kubectl -n <replace-your-k8s-namespace> get pods | grep -q allied-creation-cooperation
  29 + done
  30 + kubectl create -f /tmp/dev/allied-creation-cooperation/allied-creation-cooperation.yaml --record
  31 + kubectl -n <replace-your-k8s-namespace> get svc | grep -q allied-creation-cooperation
  32 + if [ "$?" == "0" ];then
  33 + echo "allied-creation-cooperation service update success!"
  34 + else
  35 + echo "allied-creation-cooperation service update fail!"
  36 + fi
  37 + kubectl -n <replace-your-k8s-namespace> get pods | grep -q allied-creation-cooperation
  38 + if [ "$?" == "0" ];then
  39 + echo "allied-creation-cooperation deployment update success!"
  40 + else
  41 + echo "allied-creation-cooperation deployment update fail!"
  42 + fi
  43 +fi
不能预览此文件类型
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: contractUndertakerFeedback
  5 + path: /contract-undertaker-feedbacks
  6 + endpoints:
  7 + - method: createContractUndertakerFeedback
  8 + route:
  9 + post: /
  10 + - method: updateContractUndertakerFeedback
  11 + route:
  12 + put: /{contractUndertakerFeedbackId}
  13 + - method: getContractUndertakerFeedback
  14 + route:
  15 + get: /{contractUndertakerFeedbackId}
  16 + - method: removeContractUndertakerFeedback
  17 + route:
  18 + delete: /{contractUndertakerFeedbackId}
  19 + - method: searchContractUndertakerFeedback
  20 + route:
  21 + post: /search
  22 + - method: listContractUndertakerFeedback
  23 + route:
  24 + get: /
  25 + params:
  26 + - name: offset
  27 + - name: limit
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: cooperationApplication
  5 + path: /cooperation-applications
  6 + endpoints:
  7 + - method: applyForCooperation
  8 + route:
  9 + post: /apply-for-cooperation
  10 + - method: agreeCooperationApplication
  11 + route:
  12 + post: /agree-cooperation-application
  13 + - method: rejectCooperationApplication
  14 + route:
  15 + post: /reject-cooperation-application
  16 + - method: createCooperationApplication
  17 + route:
  18 + post: /
  19 + - method: updateCooperationApplication
  20 + route:
  21 + put: /{cooperationApplicationId}
  22 + - method: getCooperationApplication
  23 + route:
  24 + get: /{cooperationApplicationId}
  25 + - method: removeCooperationApplication
  26 + route:
  27 + delete: /{cooperationApplicationId}
  28 + - method: searchCooperationApplication
  29 + route:
  30 + post: /search
  31 + - method: listCooperationApplication
  32 + route:
  33 + get: /
  34 + params:
  35 + - name: offset
  36 + - name: limit
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: cooperationContractChangeLog
  5 + path: /cooperation-contract-change-logs
  6 + endpoints:
  7 + - method: createCooperationContractChangeLog
  8 + route:
  9 + post: /
  10 + - method: updateCooperationContractChangeLog
  11 + route:
  12 + put: /{cooperationContractChangeLogId}
  13 + - method: getCooperationContractChangeLog
  14 + route:
  15 + get: /{cooperationContractChangeLogId}
  16 + - method: removeCooperationContractChangeLog
  17 + route:
  18 + delete: /{cooperationContractChangeLogId}
  19 + - method: listCooperationContractChangeLog
  20 + route:
  21 + get: /
  22 + params:
  23 + - name: offset
  24 + - name: limit
  25 + - method: searchCooperationContractChangeLog
  26 + route:
  27 + post: /search
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: cooperationContract
  5 + path: /cooperation-contracts
  6 + endpoints:
  7 + - method: createCooperationContract
  8 + route:
  9 + post: /
  10 + - method: updateCooperationContract
  11 + route:
  12 + put: /{cooperationContractId}
  13 + - method: getCooperationContract
  14 + route:
  15 + get: /{cooperationContractId}
  16 + - method: removeCooperationContract
  17 + route:
  18 + delete: /{cooperationContractId}
  19 + - method: searchCooperationContract
  20 + route:
  21 + post: /search
  22 + - method: searchCooperationContractByUndertaker
  23 + route:
  24 + post: /search-by-undertaker
  25 + - method: listCooperationContract
  26 + route:
  27 + get: /
  28 + params:
  29 + - name: offset
  30 + - name: limit
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: cooperationGoodsStatistics
  5 + path: /cooperation-goods-statistics
  6 + endpoints:
  7 + - method: searchCooperationGoodsStatistics
  8 + route:
  9 + post: /statistics
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: cooperationModeStatistics
  5 + path: /cooperation-mode-statistics
  6 + endpoints:
  7 + - method: searchCooperationModeStatistics
  8 + route:
  9 + post: /statistics
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: cooperationMode
  5 + path: /cooperation-modes
  6 + endpoints:
  7 + - method: createCooperationMode
  8 + route:
  9 + post: /
  10 + - method: updateCooperationMode
  11 + route:
  12 + put: /{cooperationModeId}
  13 + - method: getCooperationMode
  14 + route:
  15 + get: /{cooperationModeId}
  16 + - method: removeCooperationMode
  17 + route:
  18 + delete: /{cooperationModeId}
  19 + - method: searchCooperationMode
  20 + route:
  21 + post: /search
  22 + - method: listCooperationMode
  23 + route:
  24 + get: /
  25 + params:
  26 + - name: offset
  27 + - name: limit
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: cooperationPersonStatistics
  5 + path: /cooperation-person-statistics
  6 + endpoints:
  7 + - method: searchCooperationPersonStatistics
  8 + route:
  9 + post: /statistics
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: cooperationProject
  5 + path: /cooperation-projects
  6 + endpoints:
  7 + - method: releaseCooperationProject
  8 + route:
  9 + post: /release-cooperation-project
  10 + - method: createCooperationProject
  11 + route:
  12 + post: /
  13 + - method: updateCooperationProject
  14 + route:
  15 + put: /{cooperationProjectId}
  16 + - method: getCooperationProject
  17 + route:
  18 + get: /{cooperationProjectId}
  19 + - method: removeCooperationProject
  20 + route:
  21 + delete: /{cooperationProjectId}
  22 + - method: searchCooperationProject
  23 + route:
  24 + post: /search
  25 + - method: checkUndertaker
  26 + route:
  27 + post: /check
  28 + - method: listCooperationProject
  29 + route:
  30 + get: /
  31 + params:
  32 + - name: offset
  33 + - name: limit
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: creditAccount
  5 + path: /credit-accounts
  6 + endpoints:
  7 + - method: createCreditAccount
  8 + route:
  9 + post: /
  10 + - method: updateCreditAccount
  11 + route:
  12 + put: /{creditAccountId}
  13 + - method: getCreditAccount
  14 + route:
  15 + get: /{creditAccountId}
  16 + - method: removeCreditAccount
  17 + route:
  18 + delete: /{creditAccountId}
  19 + - method: searchCreditAccount
  20 + route:
  21 + post: /search
  22 + - method: payCreditAccount
  23 + route:
  24 + post: /pay
  25 + - method: listCreditAccount
  26 + route:
  27 + get: /
  28 + params:
  29 + - name: offset
  30 + - name: limit
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: currentMonthDividendsStatistics
  5 + path: /current-month-dividends-statistics
  6 + endpoints:
  7 + - method: searchCurrentMonthDividendsStatistics
  8 + route:
  9 + post: /statistics
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: dividendsEstimate
  5 + path: /dividends-estimates
  6 + endpoints:
  7 + - method: createDividendsEstimate
  8 + route:
  9 + post: /
  10 + - method: updateDividendsEstimate
  11 + route:
  12 + put: /{dividendsEstimateId}
  13 + - method: getDividendsEstimate
  14 + route:
  15 + get: /{dividendsEstimateId}
  16 + - method: removeDividendsEstimate
  17 + route:
  18 + delete: /{dividendsEstimateId}
  19 + - method: cancelDividendsEstimate
  20 + route:
  21 + post: /{dividendsEstimateId}/cancel
  22 + - method: searchDividendsEstimate
  23 + route:
  24 + post: /search
  25 + - method: estimateDividendsIncentives
  26 + route:
  27 + post: /estimate-dividends-incentives
  28 + - method: estimateMoneyIncentives
  29 + route:
  30 + post: /estimate-money-incentives
  31 + - method: listMoneyIncentives
  32 + route:
  33 + get: /list-money-incentives
  34 + - method: searchMoneyIncentives
  35 + route:
  36 + post: /search-money-incentives
  37 + - method: listDividendsIncentives
  38 + route:
  39 + get: /list-dividends-incentives
  40 + - method: searchDividendsIncentives
  41 + route:
  42 + post: /search-dividends-incentives
  43 + - method: listDividendsEstimate
  44 + route:
  45 + get: /
  46 + params:
  47 + - name: offset
  48 + - name: limit
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: dividendsOrder
  5 + path: /dividends-orders
  6 + endpoints:
  7 + - method: createDividendsOrder
  8 + route:
  9 + post: /
  10 + - method: updateDividendsOrder
  11 + route:
  12 + put: /{dividendsOrderId}
  13 + - method: getDividendsOrder
  14 + route:
  15 + get: /{dividendsOrderId}
  16 + - method: removeDividendsOrder
  17 + route:
  18 + delete: /{dividendsOrderId}
  19 + - method: searchDividendsOrder
  20 + route:
  21 + post: /search
  22 + - method: listDividendsOrders
  23 + route:
  24 + get: /
  25 + params:
  26 + - name: offset
  27 + - name: limit
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: dividendsReturnedOrder
  5 + path: /dividends-returned-orders
  6 + endpoints:
  7 + - method: createDividendsReturnedOrder
  8 + route:
  9 + post: /
  10 + - method: updateDividendsReturnedOrder
  11 + route:
  12 + put: /{dividendsReturnedOrderId}
  13 + - method: getDividendsReturnedOrder
  14 + route:
  15 + get: /{dividendsReturnedOrderId}
  16 + - method: removeDividendsReturnedOrder
  17 + route:
  18 + delete: /{dividendsReturnedOrderId}
  19 + - method: searchDividendsReturnedOrder
  20 + route:
  21 + post: /search
  22 + - method: importDividendsReturnedOrder
  23 + route:
  24 + post: /import
  25 + - method: listDividendsReturnedOrder
  26 + route:
  27 + get: /
  28 + params:
  29 + - name: offset
  30 + - name: limit
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: projectOverviewStatistics
  5 + path: /project-overview-statistics
  6 + endpoints:
  7 + - method: searchProjectOverviewStatistics
  8 + route:
  9 + post: /statistics
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: rank
  5 + description: 排名
  6 + type:
  7 + primitive: int32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: rankAmount
  5 + description: 排名金额
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: fileSize
  5 + description: 附件文件大小
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: fileType
  5 + description: 附件文件类型,jpg,pdf
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: name
  5 + description: 附件名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: url
  5 + description: 附件地址
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: count
  5 + description: 匹配数目
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: createdAt
  5 + description: 创建时间
  6 + type:
  7 + primitive: datetime
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: deletedAt
  5 + description: 删除时间
  6 + type:
  7 + primitive: datetime
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: limit
  5 + description: 查询限制
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: offset
  5 + description: 查询偏离量
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: operateTime
  5 + description: 操作时间
  6 + type:
  7 + primitive: datetime
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: operator
  5 + description: 操作人
  6 + type:
  7 + schema: user
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: pageNumber
  5 + description: 页面大小
  6 + type:
  7 + primitive: int32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: pageSize
  5 + description: 页面大小
  6 + type:
  7 + primitive: int32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: remarks
  5 + description: 备注
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: status
  5 + description: 状态
  6 + type:
  7 + primitive: int32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: updatedAt
  5 + description: 更新时间
  6 + type:
  7 + primitive: datetime
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: userInfo
  5 + description: 冗余字段,jsonb格式,不限制存放内容
  6 + type:
  7 + schema: userInfo
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: companyId
  5 + description: 公司ID,通过集成REST上下文获取
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: companyLogo
  5 + description: 公司logo
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: companyName
  5 + description: 公司名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: contractUndertaker
  5 + description: 共创合约承接人
  6 + type:
  7 + schema: user
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: feedbackAttachment
  5 + description: 合约承接方反馈内容附件
  6 + type:
  7 + array: attachment
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: feedbackContent
  5 + description: 合约承接方反馈内容
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: feedbackId
  5 + description: 合约承接方反馈记录ID
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationApplicationApplicant
  5 + description: 共创申请人
  6 + type:
  7 + schema: user
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationApplicationAttachment
  5 + description: 共创申请描述附件
  6 + type:
  7 + array: attachment
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationApplicationDescription
  5 + description: 共创申请描述
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationApplicationId
  5 + description: 共创申请ID
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationApplicationStatus
  5 + description: 共创申请审核状态,1待审核,2已同意,3已拒绝
  6 + type:
  7 + primitive: int32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationApplicationVerifier
  5 + description: 共创申请审核人
  6 + type:
  7 + schema: user
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationApplicationVerifyDescription
  5 + description: 共创申请审核描述
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationApplicationVerifyTime
  5 + description: 共创申请审核时间
  6 + type:
  7 + primitive: datetime
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationApplyTime
  5 + description: 共创申请时间
  6 + type:
  7 + primitive: datetime
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationProject
  5 + description: 共创项目
  6 + type:
  7 + schema: cooperationProject
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationContractDescription
  5 + description: 共创合约描述
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationContractDividendsIncentivesRules
  5 + description: 共创合约激励规则列表
  6 + type:
  7 + array: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationContractId
  5 + description: 共创合约ID
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationContractMoneyIncentivesRules
  5 + description: 共创合约金额激励规则列表
  6 + type:
  7 + array: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationContractName
  5 + description: 共创合约名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationContractNumber
  5 + description: 共创合约编号
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationContractReferrer
  5 + description: 合约推荐人
  6 + type:
  7 + schema: user
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationContractRelevants
  5 + description: 共创合约相关人
  6 + type:
  7 + array: user
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationContractSalesman
  5 + description: 共创合约业务员
  6 + type:
  7 + schema: user
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationContractSponsor
  5 + description: 共创合约发起人
  6 + type:
  7 + schema: user
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationContractUndertakerType
  5 + description: 共创合约承接对象,1员工,2共创用户,3公开
  6 + type:
  7 + array: int32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationContractUndertakers
  5 + description: 共创合约承接人列表
  6 + type:
  7 + array: undertaker
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationMode
  5 + description: 共创模式
  6 + type:
  7 + schema: cooperationMode
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationContractChangeLogId
  5 + description: 合约变更记录ID
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: incentivesRule
  5 + description: 激励规则
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: incentivesRuleDetail
  5 + description: 激励规则明细
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: operationType
  5 + description: 合约变更操作类型,1编辑、2暂停、3恢复
  6 + type:
  7 + primitive: int32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: undertakers
  5 + description: 承接人
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationModeId
  5 + description: 共创模式ID
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationModeName
  5 + description: 共创模式名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationModeNumber
  5 + description: 共创模式编码,手动输入,唯一确定
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationProjectDescription
  5 + description: 共创项目描述
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationProjectId
  5 + description: 共创项目ID
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationProjectName
  5 + description: 共创项目名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationProjectNumber
  5 + description: 共创项目编号,自生成,生成规则:XM+6位年月日+#+3位流水,例XM210601#001
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationProjectPublishTime
  5 + description: 共创项目发布时间
  6 + type:
  7 + primitive: datetime
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationProjectPublisher
  5 + description: 共创项目发布人
  6 + type:
  7 + schema: user
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationProjectSponsor
  5 + description: 共创项目发起人
  6 + type:
  7 + schema: user
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationProjectUndertakerType
  5 + description: 共创项目承接对象,1员工,2共创用户,3公开,可以多选
  6 + type:
  7 + array: int32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: actuallyPaidAmount
  5 + description: 账期结算实付金额
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: creditAccountId
  5 + description: 账期结算单ID
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: creditAccountOrderNum
  5 + description: 账期结算单号
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: paymentDocumentAttachment
  5 + description: 支付凭证附件
  6 + type:
  7 + schema: attachment
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: paymentStatus
  5 + description: 共创账期结算支付状态,1待支付,2已支付
  6 + type:
  7 + primitive: int32
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: paymentTime
  5 + description: 共创账期结算支付时间
  6 + type:
  7 + primitive: datetime
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: settlementAmount
  5 + description: 账期结算金额
  6 + type:
  7 + primitive: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: settlementTime
  5 + description: 共创账期结算时间
  6 + type:
  7 + primitive: datetime
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: data
  5 + description: 柱状图数据二维数组
  6 + type:
  7 + array: any
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: dimension
  5 + description: 结算分布坐标值
  6 + type:
  7 + array: any
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: series
  5 + description: 结算分布坐标值
  6 + type:
  7 + array: float64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: xAxis
  5 + description: 结算分布X轴标签
  6 + type:
  7 + array: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: departmentId
  5 + description: 部门ID,通过REST集成上下文获取
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: departmentName
  5 + description: 部门名称
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: departmentNumber
  5 + description: 部门编码
  6 + type:
  7 + primitive: string