guhongwei 3 년 전
부모
커밋
47f574db82
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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 }, // 是否已读