2018-03-21 02:47:47 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Repositories;
|
|
|
|
|
2019-07-16 03:44:31 +08:00
|
|
|
use App\Contracts\Repository;
|
2018-03-21 02:47:47 +08:00
|
|
|
use App\Models\FlightField;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class FlightFieldRepository
|
|
|
|
*/
|
|
|
|
class FlightFieldRepository extends Repository
|
|
|
|
{
|
|
|
|
protected $fieldSearchable = [
|
|
|
|
'name' => 'like',
|
|
|
|
];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function model(): string
|
|
|
|
{
|
|
|
|
return FlightField::class;
|
|
|
|
}
|
|
|
|
}
|