GamePayShowModel.php 608 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * GamePayShowModel.php UTF-8
  4. * 支付显示
  5. *
  6. * @date : 2019/8/27 20:05
  7. *
  8. * @license 这不是一个自由软件,未经授权不许任何使用和传播。
  9. * @author : dengcongshuai <dcs@huosdk.com>
  10. * @version : HUOSDK 8.0
  11. */
  12. namespace huo\model\game;
  13. use huo\model\common\CommonModel;
  14. class GamePayShowModel extends CommonModel {
  15. protected $name = 'game_pay_show';
  16. /**
  17. * 关联game表
  18. *
  19. * @return mixed
  20. */
  21. public function game() {
  22. return $this->belongsTo('huo\model\game\GameModel', 'app_id')->field('id,name game_name,pay_show');
  23. }
  24. }