Added achievement data

This commit is contained in:
2026-04-26 20:00:11 +10:00
parent f6d5b97784
commit 14aed7bf6e
18 changed files with 950 additions and 6 deletions
+6 -1
View File
@@ -17,6 +17,7 @@ class Airline extends Model
'name',
'internal_name',
'country_id',
'alliance_id',
'active',
'logo',
];
@@ -25,7 +26,6 @@ class Airline extends Model
'active' => 'boolean',
];
public $timestamps = false;
protected $appends = [
'display_name',
@@ -50,6 +50,11 @@ class Airline extends Model
);
}
public function alliance(): BelongsTo
{
return $this->belongsTo(Alliance::class);
}
public function country(): BelongsTo
{
return $this->belongsTo(Country::class);