compleRation_installFeeItem.js 703 B

123456789101112131415161718192021222324252627282930
  1. 'use strict';
  2. /**
  3. *
  4. *
  5. * @author Zhong
  6. * @date 2018/10/23
  7. * @version
  8. */
  9. /*
  10. * 补充定额库用户新增安装增加费费用项
  11. *
  12. * */
  13. const mongoose = require('mongoose');
  14. const Schema = mongoose.Schema;
  15. const deleteSchema = require('../all_schemas/delete_schema');
  16. //补充安装增加费-费用项
  17. const installFeeItemSchema = new Schema({
  18. userId: String,
  19. compilationId: String,
  20. ID: String,
  21. feeItem: String, //费用项
  22. feeType: String, //费用类型
  23. position: String, //记取位置
  24. section: [],
  25. deleteInfo: deleteSchema
  26. }, {versionKey: false});
  27. mongoose.model('complementary_ration_installation', installFeeItemSchema, 'complementary_ration_installation');