Started a flight view

This commit is contained in:
2026-04-07 21:31:36 +10:00
parent 79469c02cf
commit 43f5c8ac3e
9 changed files with 384 additions and 209 deletions
+6
View File
@@ -4,6 +4,7 @@ namespace App\Models;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class Airline extends Model
{
@@ -25,4 +26,9 @@ class Airline extends Model
public $timestamps = false;
public function country(): BelongsTo
{
return $this->belongsTo(Country::class);
}
}