作者 yangfu
version: v1
kind: Attribute
metadata:
name: createdAt
description: 创建时间
type:
primitive: datetime
... ...
version: v1
kind: Attribute
metadata:
name: deletedAt
description: 删除时间
type:
primitive: datetime
... ...
version: v1
kind: Attribute
metadata:
name: updatedAt
description: 更新时间
type:
primitive: datetime
... ...
version: v1
kind: Attribute
metadata:
name: companyId
description: 公司id
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
- name: content
description: 消息的内容
name: content
description: 内容模板
type:
platform: string
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: extend
description: 发送通知时的扩展参数
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: isRead
description: 是否已读【1:未读】【2:已读】
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: module
description: 消息对应的业务模块
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: moduleAction
description: 业务环节
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: organizationId
description: 组织id
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: userId
description: 接收方用户id
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: moduleAction
description: 业务环节
type:
primitive: string
... ...
... ... @@ -4,39 +4,27 @@ metadata:
name: noticePersonal
description: 个人的消息通知
attributes:
- name: noticePersonalId
description: 编号id
type:
primitive: int64
- name: createdTime
description: 创建时间
type:
primitive: datatime
- name: updatedTime
description: 更新的时间
type:
primitive: datatime
- name: content
description: 消息的内容
type:
platform: string
- name: extend
description: 发送通知时的扩展参数
type:
primitive: string
- name: msgType
description: 消息类型(0普通消息、1天联模块消息)
type:
primitive: int
- name: module
description: 消息对应的业务模块
type:
primitive: string
- name: userId
description: 用户id
type:
primitive: int64
- name: isRead
description: 是否已读【1:未读】【2:已读】
type:
primitive: int
- ref: createdAt
required: true
- ref: deletedAt
required: true
- ref: updatedAt
required: true
- ref: extend
required: true
- ref: companyId
required: true
- ref: content
required: true
- ref: isRead
required: true
- ref: module
required: true
- ref: moduleAction
required: true
- ref: noticePersonalId
required: true
- ref: organizationId
required: true
- ref: userId
required: true
... ...
... ... @@ -4,27 +4,23 @@ metadata:
name: noticeSetting
description: 编排消息通知内容
attributes:
- name: noticeSettingId
description: 编号id
type:
primitive: int64
- name: companyId
description: 公司id
type:
primitive: int64
- name: organizationId
description: 组织id
type:
primitive: int64
- name: isPush
description: 是否推送 【是:1】【否:2】
type:
primitive: int
- name: module
description: 消息对应的业务模块
type:
primitive: string
- name: content
description: 消息内容模板
type:
primitive: string
- ref: createdAt
required: true
- ref: deletedAt
required: true
- ref: updatedAt
required: true
- ref: companyId
required: true
- ref: content
required: true
- ref: module
required: true
- ref: moduleAction
required: true
- ref: organizationId
required: true
- ref: isPush
required: true
- ref: noticeSettingId
required: true
... ...