12345678910111213141516171819202122232425 |
- <?php
- /**
- * Created by PhpStorm.
- * User: ZhangHao
- * Date: 2019/6/17
- * Time: 15:13
- */
- namespace App\Repositories\Jobfairout;
- use App\Models\Jobfairout\JobfairoutSchool;
- use Prettus\Repository\Eloquent\BaseRepository;
- class jobfairoutSchoolRepository extends BaseRepository
- {
- public function model()
- {
- return JobfairoutSchool::class;
- }
- public function getSchool($where)
- {
- return $this->model->whereIn('id',$where)->get();
- }
- }
|