StoreActivityDao.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  8. // +----------------------------------------------------------------------
  9. // | Author: CRMEB Team <admin@crmeb.com>
  10. // +----------------------------------------------------------------------
  11. namespace app\common\dao\store;
  12. use app\common\dao\BaseDao;
  13. use app\common\model\BaseModel;
  14. use app\common\model\store\StoreActivity;
  15. use app\common\repositories\system\RelevanceRepository;
  16. /**
  17. *
  18. * Class StoreActivityDao
  19. * @package app\common\dao\system\merchant
  20. */
  21. class StoreActivityDao extends BaseDao
  22. {
  23. protected function getModel(): string
  24. {
  25. return StoreActivity::class;
  26. }
  27. public function search(array $where = [])
  28. {
  29. $where['is_del'] = 0;
  30. return $this->getSearch($where);
  31. }
  32. }