std_billsGuidance_lib.js 609 B

12345678910111213141516171819202122232425262728
  1. 'use strict';
  2. /**
  3. *
  4. *
  5. * @author Zhong
  6. * @date 2018/5/29
  7. * @version
  8. */
  9. //清单指引库
  10. const mongoose = require('mongoose');
  11. const Schema = mongoose.Schema;
  12. const stdBillsGuidanceLib = new Schema({
  13. type: Number, //1:清单指引 2:清单精灵
  14. ID: String, //uuid
  15. compilationId: String,
  16. compilationName: String,
  17. billsLibId: Number,
  18. billsLibName: String,
  19. name: String,
  20. creator: String,
  21. createDate: String,
  22. deleted: {type: Boolean, default: false},
  23. }, {versionKey: false});
  24. mongoose.model('std_billsGuidance_lib', stdBillsGuidanceLib, 'std_billsGuidance_lib');