| 12345678910111213141516171819202122232425262728293031 | /** * Created by Zhong on 2018/3/22. *//*补充定额库-章节树*/const mongoose = require('mongoose');const Schema = mongoose.Schema;const deleteSchema = require('../all_schemas/delete_schema');//补充定额章节树const compleRationSectionTreeSchema = new Schema({    //用户名    userId: String,    //编办    compilationId: String,    //标准定额库    //rationRepId: Number,    //名称    name: String,    //是否是同层第一个节点   // isFirst: Boolean,    ID: String,    NextSiblingID: String,    ParentID: String,    deleteInfo: deleteSchema,    //以下预留数据,以后开放可用    explanation: String,//说明    ruleText: String,//计算规则,    jobContentSituation: String,//工作内容适用情况,ALL适用本项全部定额,PARTIAL适用本项部分定额    annotationSituation: String,//附注适用情况,ALL适用本项全部定额,PARTIAL适用本项部分定额}, {versionKey: false});mongoose.model('complementary_ration_section_tree', compleRationSectionTreeSchema, 'complementary_ration_section_tree');
 |