2017-06-12 00:36:16 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Repositories;
|
|
|
|
|
|
|
|
use App\Models\Airport;
|
2017-08-25 02:03:10 +08:00
|
|
|
|
2017-06-12 00:36:16 +08:00
|
|
|
|
|
|
|
class AirportRepository extends BaseRepository
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $fieldSearchable = [
|
|
|
|
'icao'
|
|
|
|
];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Configure the Model
|
|
|
|
**/
|
|
|
|
public function model()
|
|
|
|
{
|
|
|
|
return Airport::class;
|
|
|
|
}
|
|
|
|
}
|