This commit is contained in:
Kevin Adametz 2024-08-05 11:58:09 +02:00
parent c1c613a4b9
commit 881fc84207
384 changed files with 50679 additions and 990 deletions

43
app/Models/Airport.php Normal file
View file

@ -0,0 +1,43 @@
<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
/**
* Class Airport
*
* @property int $id
* @property string $code
* @property string $name
* @property string $city
* @property string $country
* @property bool $active
* @property Carbon|null $created_at
* @property Carbon|null $updated_at
*
* @package App\Models
*/
class Airport extends Model
{
protected $connection = 'mysql';
protected $table = 'airports';
protected $casts = [
'active' => 'bool'
];
protected $fillable = [
'code',
'name',
'city',
'country',
'active'
];
}