'use strict';

/**
 *
 *
 * @author Zhong
 * @date 2019/3/5
 * @version
 */
//建设项目基本信息库
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const oprSchema = require('../all_schemas/opr_schema');
const engineerFeatureLib = new Schema({
    ID: {type: String, index: true},
    name: String,
    creator: String,
    createDate: Number,
    recentOpr: [oprSchema],
    features: {
        type: Schema.Types.Mixed,
        default: []
    }
}, {versionKey: false});
mongoose.model('std_engineer_feature_lib', engineerFeatureLib, 'std_engineer_feature_lib');