phpvms/app/Repositories/AirportRepository.php

25 lines
363 B
PHP
Raw Normal View History

<?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;
}
}