stdRation_section.js 798 B

1234567891011121314151617181920
  1. /**
  2. * Created by Zhong on 2018/3/22.
  3. */
  4. /*标准定额章节树*/
  5. const mongoose = require('mongoose');
  6. const Schema = mongoose.Schema;
  7. const rationChapterTreeSchema = new Schema({//章节树 //生成唯一id改为sectionID 改成string
  8. rationRepId: Number,
  9. ID:Number,
  10. ParentID:Number,
  11. NextSiblingID:Number,
  12. name: String,
  13. explanation: String,//说明
  14. ruleText: String,//计算规则,
  15. jobContentSituation: String,//工作内容适用情况,ALL适用本项全部定额,PARTIAL适用本项部分定额
  16. annotationSituation: String,//附注适用情况,ALL适用本项全部定额,PARTIAL适用本项部分定额
  17. isDeleted: Boolean
  18. });
  19. mongoose.model("std_ration_lib_ration_chapter_trees", rationChapterTreeSchema, 'std_ration_lib_ration_chapter_trees');