|
@@ -13,6 +13,8 @@ const patenttrans = {
|
|
|
email: { type: String }, // 电子邮箱
|
|
|
budget: { type: String }, // 投资预算
|
|
|
type: { type: String }, // 交易类型(转让,合作,招商,质押)
|
|
|
+ is_report: { type: Boolean, default: false }, // 评估报告
|
|
|
+ report: { type: Array }, // 评估报告
|
|
|
requirementdesc: { type: String }, // 技术说明
|
|
|
expect: { type: String }, // 预期目标
|
|
|
present: { type: String }, // 需求现状
|
|
@@ -28,6 +30,7 @@ schema.index({ phone: 1 });
|
|
|
schema.index({ email: 1 });
|
|
|
schema.index({ budget: 1 });
|
|
|
schema.index({ type: 1 });
|
|
|
+schema.index({ is_report: 1 });
|
|
|
schema.index({ status: 1 });
|
|
|
schema.index({ 'meta.createdAt': 1 });
|
|
|
schema.plugin(metaPlugin);
|