budget_yu.js 490 B

12345678910111213141516171819202122232425262728
  1. 'use strict';
  2. /**
  3. *
  4. *
  5. * @author Mai
  6. * @date
  7. * @version
  8. */
  9. module.exports = app => {
  10. class BudgetYu 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_yu_maxLid:' });
  20. this.tableName = 'budget_yu';
  21. }
  22. }
  23. return BudgetYu;
  24. };