liuyu 4 vuotta sitten
vanhempi
commit
d0a9eede66
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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 }, // 读取时间
 });