budget_gu.js 492 B

123456789101112131415161718192021222324252627282930
  1. 'use strict';
  2. /**
  3. *
  4. *
  5. * @author Mai
  6. * @date
  7. * @version
  8. */
  9. module.exports = app => {
  10. class BudgetGu extends app.BaseBudgetService {
  11. /**
  12. * 构造函数
  13. *
  14. * @param {Object} ctx - egg全局变量
  15. * @param {String} tableName - 表名
  16. * @return {void}
  17. */
  18. constructor(ctx) {
  19. super(ctx, { keyPre: 'budget_gu_maxLid:' });
  20. this.tableName = 'budget_gu';
  21. }
  22. }
  23. return BudgetGu;
  24. };