12345678910111213141516171819202122232425 |
- /**
- * Created by Zhong on 2018/3/22.
- */
- /*补充定额库-章节树*/
- const mongoose = require('mongoose');
- const Schema = mongoose.Schema;
- //补充定额章节树
- const compleRationSectionTreeSchema = new Schema({
- //用户名
- userId: Number,
- //编办
- compilationId: String,
- //标准定额库
- rationRepId: Number,
- //名称
- name: String,
- //是否是同层第一个节点
- isFirst: Boolean,
- ID: Number,
- NextSiblingID: Number,
- ParentID: Number,
- deleteInfo: deleteSchema
- }, {versionKey: false});
- mongoose.model('complementary_ration_section_tree', compleRationSectionTreeSchema, 'complementary_ration_section_tree');
|