25 lines
360 B
PHP
25 lines
360 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Repositories;
|
||
|
|
||
|
use App\Models\Pirep;
|
||
|
use InfyOm\Generator\Common\BaseRepository;
|
||
|
|
||
|
class PirepRepository extends BaseRepository
|
||
|
{
|
||
|
/**
|
||
|
* @var array
|
||
|
*/
|
||
|
protected $fieldSearchable = [
|
||
|
'user_id'
|
||
|
];
|
||
|
|
||
|
/**
|
||
|
* Configure the Model
|
||
|
**/
|
||
|
public function model()
|
||
|
{
|
||
|
return Pirep::class;
|
||
|
}
|
||
|
}
|