compleGlj_section.js 446 B

123456789101112131415161718192021222324
  1. 'use strict';
  2. /**
  3. *
  4. *
  5. * @author Zhong
  6. * @date 2018/1/2
  7. * @version
  8. */
  9. // import mongoose from 'mongoose';
  10. let mongoose = require("mongoose");
  11. const Schema = mongoose.Schema;
  12. const compleGljSection = new Schema({
  13. userId: String,
  14. compilationId: String,
  15. Name: String,
  16. ID: String,
  17. ParentID: String,
  18. NextSiblingID: String,
  19. });
  20. mongoose.model('complementary_glj_section', compleGljSection, 'complementary_glj_section');