Added achievement data
This commit is contained in:
1 parent
f6d5b97784
commit
14aed7bf6e
18 files changed
+950
-6
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user