1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- namespace App\Repositories;
- use App\Models\Appeal;
- use Prettus\Repository\Eloquent\BaseRepository;
- class AppealRepository extends BaseRepository
- {
-
- public function model()
- {
- return Appeal::class;
- }
- public function getCount($where)
- {
- return $this->model->where($where)->count();
- }
- }
|