// +---------------------------------------------------------------------- namespace app\common\dao\store; use app\common\dao\BaseDao; use app\common\model\BaseModel; use app\common\model\store\StoreActivity; use app\common\repositories\system\RelevanceRepository; /** * * Class StoreActivityDao * @package app\common\dao\system\merchant */ class StoreActivityDao extends BaseDao { protected function getModel(): string { return StoreActivity::class; } public function search(array $where = []) { $where['is_del'] = 0; return $this->getSearch($where); } }