作者 陈志颖

Merge branch 'dev'

  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: contractUndertaker
  5 + description: 共创合约承接人
  6 + type:
  7 + schema: user
@@ -4,4 +4,4 @@ metadata: @@ -4,4 +4,4 @@ metadata:
4 name: cooperationContractReferrer 4 name: cooperationContractReferrer
5 description: 合约推荐人 5 description: 合约推荐人
6 type: 6 type:
7 - schema: any 7 + schema: user
1 version: v1 1 version: v1
2 kind: Attribute 2 kind: Attribute
3 metadata: 3 metadata:
4 - name: cooperationContractRelevant 4 + name: cooperationContractRelevants
5 description: 共创合约相关人 5 description: 共创合约相关人
6 type: 6 type:
7 - array: any 7 + array: user
@@ -4,4 +4,4 @@ metadata: @@ -4,4 +4,4 @@ metadata:
4 name: cooperationContractSalesman 4 name: cooperationContractSalesman
5 description: 共创合约业务员 5 description: 共创合约业务员
6 type: 6 type:
7 - schema: any 7 + schema: user
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: cooperationContractUndertakerType
  5 + description: 共创合约承接对象,1员工,2共创用户,3公开
  6 + type:
  7 + array: int32
@@ -4,4 +4,4 @@ metadata: @@ -4,4 +4,4 @@ metadata:
4 name: cooperationContractUndertakers 4 name: cooperationContractUndertakers
5 description: 共创合约承接人列表 5 description: 共创合约承接人列表
6 type: 6 type:
7 - array: any 7 + array: user
@@ -4,4 +4,4 @@ metadata: @@ -4,4 +4,4 @@ metadata:
4 name: cooperationMode 4 name: cooperationMode
5 description: 共创模式 5 description: 共创模式
6 type: 6 type:
7 - schema: any 7 + schema: cooperationMode
@@ -12,7 +12,9 @@ metadata: @@ -12,7 +12,9 @@ metadata:
12 required: true 12 required: true
13 - ref: cooperationContractNumber 13 - ref: cooperationContractNumber
14 required: true 14 required: true
15 - - ref: userId 15 + - ref: contractUndertaker
  16 + required: true
  17 + - ref: organization
16 required: true 18 required: true
17 - ref: updatedAt 19 - ref: updatedAt
18 required: true 20 required: true
  1 +version: v1
  2 +kind: Schema
  3 +metadata:
  4 + name: cooperationContract
  5 + description: 共创项目合约实体
  6 + attributes:
  7 + - ref: cooperationContractId
  8 + required: true
  9 + - ref: cooperationContractDescription
  10 + required: true
  11 + - ref: cooperationContractName
  12 + required: true
  13 + - ref: cooperationContractNumber
  14 + required: true
  15 + - ref: cooperationContractReferrer
  16 + required: true
  17 + - ref: cooperationContractSalesman
  18 + required: true
  19 + - ref: cooperationContractUndertakerType
  20 + required: true
  21 + - ref: cooperationContractSponsor
  22 + required: true
  23 + - ref: cooperationMode
  24 + required: true
  25 + - ref: createdAt
  26 + required: true
  27 + - ref: deletedAt
  28 + required: true
  29 + - ref: updatedAt
  30 + required: true