guhongwei 3 vuotta sitten
vanhempi
commit
47f574db82
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      app/model/patent/patentwarning.js

+ 2 - 2
app/model/patent/patentwarning.js

@@ -6,9 +6,9 @@ const { ObjectId } = require('mongoose').Types;
 // 专利运营专利申请预警表
 const patentwarning = {
   to_id: { type: ObjectId }, // 接收人id
-  to_name: { type: ObjectId }, // 接收人姓名
+  to_name: { type: String }, // 接收人姓名
   patent_id: { type: ObjectId }, // 预警专利id
-  patent_name: { type: ObjectId }, // 预警专利姓名
+  patent_name: { type: String }, // 预警专利姓名
   content: { type: String }, // 预警信息
   file_url: { type: Array }, // 预警文件
   is_read: { type: Boolean, default: false }, // 是否已读