12345678910111213141516171819202122232425 |
- /**
- * Created by Zhong on 2018/3/22.
- */
- /*标准定额库*/
- const mongoose = require('mongoose');
- const Schema = mongoose.Schema;
- const oprSchema = require('../all_schemas/opr_schema');
- const RepositoryMapSchema = new Schema({
- "ID": Number,
- "dispName" : String,
- "libCode": String, //定额库编码
- "appType" : String, //如:"建筑" / "公路"
- "localeType": String, //如 各个省份 / 部颁
- "descr" : String,
- "deleted": Boolean,
- compilationId: String,
- compilationName: String,
- gljLib: Number,
- creator: String,
- createDate: String,
- recentOpr: [oprSchema]
- });
- mongoose.model('std_ration_lib_map', RepositoryMapSchema, 'std_ration_lib_map');
|