|
@@ -5,6 +5,7 @@ const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
|
|
|
// 被通知详情表
|
|
|
const notifiedInfo = new Schema({
|
|
|
notifiedid: { type: String, required: false, maxLength: 200 }, // 被通知人id
|
|
|
+ username: { type: String, required: false, maxLength: 200 }, // 通知姓名
|
|
|
status: { type: String, required: false, maxLength: 200, default: '0' }, // 状态,0-未读,1-已读
|
|
|
readtime: { type: String, required: false, maxLength: 200 }, // 读取时间
|
|
|
});
|