2017-06-29 08:56:10 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Repositories;
|
|
|
|
|
2018-03-20 09:50:40 +08:00
|
|
|
use App\Interfaces\Repository;
|
2017-06-29 08:56:10 +08:00
|
|
|
use App\Models\PirepField;
|
|
|
|
|
2018-03-20 09:50:40 +08:00
|
|
|
/**
|
|
|
|
* Class PirepFieldRepository
|
|
|
|
*/
|
|
|
|
class PirepFieldRepository extends Repository
|
2017-06-29 08:56:10 +08:00
|
|
|
{
|
|
|
|
protected $fieldSearchable = [
|
2017-12-02 00:53:33 +08:00
|
|
|
'name' => 'like',
|
2017-06-29 08:56:10 +08:00
|
|
|
];
|
|
|
|
|
|
|
|
public function model()
|
|
|
|
{
|
|
|
|
return PirepField::class;
|
|
|
|
}
|
|
|
|
}
|