作者 yangfu
  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: updatedAt
  5 + description: 更新时间
  6 + type:
  7 + primitive: datetime
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: companyId
  5 + description: 公司id
  6 + type:
  7 + primitive: int64
1 version: v1 1 version: v1
2 kind: Attribute 2 kind: Attribute
3 metadata: 3 metadata:
4 - - name: content  
5 - description: 消息的内容 4 + name: content
  5 + description: 内容模板
6 type: 6 type:
7 - platform: string 7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: extend
  5 + description: 发送通知时的扩展参数
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: isRead
  5 + description: 是否已读【1:未读】【2:已读】
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: module
  5 + description: 消息对应的业务模块
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: moduleAction
  5 + description: 业务环节
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: organizationId
  5 + description: 组织id
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: userId
  5 + description: 接收方用户id
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: moduleAction
  5 + description: 业务环节
  6 + type:
  7 + primitive: string
@@ -4,39 +4,27 @@ metadata: @@ -4,39 +4,27 @@ metadata:
4 name: noticePersonal 4 name: noticePersonal
5 description: 个人的消息通知 5 description: 个人的消息通知
6 attributes: 6 attributes:
7 - - name: noticePersonalId  
8 - description: 编号id  
9 - type:  
10 - primitive: int64  
11 - - name: createdTime  
12 - description: 创建时间  
13 - type:  
14 - primitive: datatime  
15 - - name: updatedTime  
16 - description: 更新的时间  
17 - type:  
18 - primitive: datatime  
19 - - name: content  
20 - description: 消息的内容  
21 - type:  
22 - platform: string  
23 - - name: extend  
24 - description: 发送通知时的扩展参数  
25 - type:  
26 - primitive: string  
27 - - name: msgType  
28 - description: 消息类型(0普通消息、1天联模块消息)  
29 - type:  
30 - primitive: int  
31 - - name: module  
32 - description: 消息对应的业务模块  
33 - type:  
34 - primitive: string  
35 - - name: userId  
36 - description: 用户id  
37 - type:  
38 - primitive: int64  
39 - - name: isRead  
40 - description: 是否已读【1:未读】【2:已读】  
41 - type:  
42 - primitive: int 7 + - ref: createdAt
  8 + required: true
  9 + - ref: deletedAt
  10 + required: true
  11 + - ref: updatedAt
  12 + required: true
  13 + - ref: extend
  14 + required: true
  15 + - ref: companyId
  16 + required: true
  17 + - ref: content
  18 + required: true
  19 + - ref: isRead
  20 + required: true
  21 + - ref: module
  22 + required: true
  23 + - ref: moduleAction
  24 + required: true
  25 + - ref: noticePersonalId
  26 + required: true
  27 + - ref: organizationId
  28 + required: true
  29 + - ref: userId
  30 + required: true
@@ -4,27 +4,23 @@ metadata: @@ -4,27 +4,23 @@ metadata:
4 name: noticeSetting 4 name: noticeSetting
5 description: 编排消息通知内容 5 description: 编排消息通知内容
6 attributes: 6 attributes:
7 - - name: noticeSettingId  
8 - description: 编号id  
9 - type:  
10 - primitive: int64  
11 - - name: companyId  
12 - description: 公司id  
13 - type:  
14 - primitive: int64  
15 - - name: organizationId  
16 - description: 组织id  
17 - type:  
18 - primitive: int64  
19 - - name: isPush  
20 - description: 是否推送 【是:1】【否:2】  
21 - type:  
22 - primitive: int  
23 - - name: module  
24 - description: 消息对应的业务模块  
25 - type:  
26 - primitive: string  
27 - - name: content  
28 - description: 消息内容模板  
29 - type:  
30 - primitive: string 7 + - ref: createdAt
  8 + required: true
  9 + - ref: deletedAt
  10 + required: true
  11 + - ref: updatedAt
  12 + required: true
  13 + - ref: companyId
  14 + required: true
  15 + - ref: content
  16 + required: true
  17 + - ref: module
  18 + required: true
  19 + - ref: moduleAction
  20 + required: true
  21 + - ref: organizationId
  22 + required: true
  23 + - ref: isPush
  24 + required: true
  25 + - ref: noticeSettingId
  26 + required: true