compleRation_installFeeItem.js 663 B

123456789101112131415161718192021222324252627282930313233
  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. //补充安装增加费-费用项
  16. const installFeeItemSchema = new Schema(
  17. {
  18. userId: String,
  19. compilationId: String,
  20. ID: String,
  21. feeItem: String, //费用项
  22. feeType: String, //费用类型
  23. position: String, //记取位置
  24. section: [],
  25. deleted: false,
  26. seq: Number,
  27. },
  28. { versionKey: false }
  29. );
  30. mongoose.model("complementary_ration_installation", installFeeItemSchema, "complementary_ration_installation");