#21 PIREP scaffolding
This commit is contained in:
24
app/Repositories/PirepRepository.php
Normal file
24
app/Repositories/PirepRepository.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user