add airports table and #7 integrate permissions

This commit is contained in:
Nabeel Shahzad
2017-06-11 11:36:16 -05:00
parent 35f660d1d9
commit d3cf57a1d1
25 changed files with 640 additions and 60 deletions

View File

@@ -0,0 +1,24 @@
<?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;
}
}