Browse Source

update models

zhangweicheng 7 năm trước cách đây
mục cha
commit
5797c48585
1 tập tin đã thay đổi với 0 bổ sung15 xóa
  1. 0 15
      modules/all_models/compilation.js

+ 0 - 15
modules/all_models/compilation.js

@@ -9,25 +9,10 @@ import mongoose from "mongoose";
 
 let Schema = mongoose.Schema;
 let collectionName = 'compilation';
-let engineeringListSchema = new Schema({
-    // 工程专业id
-    engineering: {
-        type: Number
-    },
-    engineering_id: {
-        type: Schema.Types.Mixed,
-        default: []
-    }
-}, {_id: false});
 let childrenSchema = new Schema({
     id:String,
     // 计价名称
     name: String,
-    // 工程专业列表
-    engineering_list: {
-        type: [engineeringListSchema],
-        default: []
-    },
     // 是否启用
     enable: {
         type: Boolean,