2017-06-09 09:02:52 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Repositories;
|
|
|
|
|
2017-06-20 00:50:25 +08:00
|
|
|
use App\Models\Airline;
|
2017-06-09 09:02:52 +08:00
|
|
|
|
2017-06-20 00:50:25 +08:00
|
|
|
class AirlineRepository extends BaseRepository
|
2017-06-09 09:02:52 +08:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $fieldSearchable = [
|
|
|
|
'code',
|
|
|
|
'name'
|
|
|
|
];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Configure the Model
|
|
|
|
**/
|
|
|
|
public function model()
|
|
|
|
{
|
2017-06-20 00:50:25 +08:00
|
|
|
return Airline::class;
|
2017-06-09 09:02:52 +08:00
|
|
|
}
|
|
|
|
}
|