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