UNPKG

nsn-entity

Version:

NSN实体组件

48 lines (33 loc) 824 B
import { MessageStatusEnum } from 'nsn-enum'; import { NEntity } from '../core'; /** 系统-用户与消息 */ export interface UserMessage extends NEntity { /** 消息 */ msgId: string; /** 用户 */ userId: string; /** 消息读取状态 */ status: MessageStatusEnum; /** dto 消息标题 */ title: string; /** 消息类型 */ type: string; /** 消息等级 */ level: string; /** 是否有附件 */ attac: boolean; /** 发送用户 */ account: string; /** 消息读取状态 */ readStatusList: Array<string>; /** 消息类型 */ typeList: Array<string>; /** 消息等级 */ levelList: Array<string>; /** 发布开始时间 */ startDate: string; /** 发布结束时间 */ endDate: string; /** 消息接收人主键集合 */ pushIdList: Array<string>; }