|
@@ -1,37 +0,0 @@
|
|
|
-/**
|
|
|
- * 工料机库数据模型
|
|
|
- *
|
|
|
- * @author CaiAoLin
|
|
|
- * @date 2017/8/16
|
|
|
- * @version
|
|
|
- */
|
|
|
-/*
|
|
|
-import mongoose from "mongoose";
|
|
|
-
|
|
|
-let Schema = mongoose.Schema;
|
|
|
-let collectionName = 'std_glj_lib_map';
|
|
|
-let modelSchema = {
|
|
|
- // 显示名称
|
|
|
- dispName: String,
|
|
|
- // 类型
|
|
|
- appType: String,
|
|
|
- // 是否被删除标记
|
|
|
- deleted: Boolean,
|
|
|
- // 自增ID
|
|
|
- ID: Number,
|
|
|
- // 创建时间
|
|
|
- createDate: String,
|
|
|
- // 创建者
|
|
|
- creator: String,
|
|
|
- // 最近一次操作
|
|
|
- recentOpr: Schema.Types.Mixed,
|
|
|
- // 编办id
|
|
|
- compilationId: String,
|
|
|
- // 编办名称
|
|
|
- compilationName: String,
|
|
|
- // 定额库
|
|
|
- rationLibs: Schema.Types.Mixed
|
|
|
-};
|
|
|
-
|
|
|
-let model = mongoose.model(collectionName, new Schema(modelSchema, {versionKey: false, collection: collectionName}));
|
|
|
-export {model as default, collectionName as collectionName};*/
|