liuyu 4 anni fa
parent
commit
d0a9eede66
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      app/model/notice.js

+ 1 - 0
app/model/notice.js

@@ -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 }, // 读取时间
 });