MerchantHaikeApplyDao.php 451 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * @package merchant
  4. *
  5. * @author xaboy
  6. * @day 2020/5/30
  7. *
  8. *
  9. */
  10. namespace app\common\dao\merchant\apply;
  11. use app\common\dao\BaseDao;
  12. use app\common\model\merchant\apply\MerchantHaikeApply;
  13. class MerchantHaikeApplyDao extends BaseDao
  14. {
  15. protected function getModel(): string
  16. {
  17. return MerchantHaikeApply::class;
  18. }
  19. public function test()
  20. {
  21. return ($this->getModel())::getDB()->select();
  22. }
  23. }