stdRation_installFeeItem.js 738 B

123456789101112131415161718192021222324252627282930
  1. /**
  2. * Created by Zhong on 2018/3/22.
  3. */
  4. /*标准定额库-安装费用项*/
  5. const mongoose = require("mongoose");
  6. const Schema = mongoose.Schema;
  7. //标准安装增加费-费用项
  8. const installFeeItemSchema = new Schema(
  9. {
  10. rationRepId: Number,
  11. ID: String,
  12. feeItem: String, //费用项
  13. feeType: String, //费用类型
  14. position: String, //记取位置
  15. section: [],
  16. deleted: false,
  17. seq: Number,
  18. position24: String, //24记取位置
  19. reductionRate: Number, //降效比例(%)
  20. measureRate: Number, //措施比例(%)
  21. showIn24: Boolean, //24是否显示
  22. },
  23. { versionKey: false }
  24. );
  25. mongoose.model(
  26. "std_ration_lib_installation",
  27. installFeeItemSchema,
  28. "std_ration_lib_installation"
  29. );