add airline reference to PIREP
This commit is contained in:
@@ -72,6 +72,11 @@ class Pirep extends Model
|
||||
return $this->belongsTo('App\Models\Aircraft', 'aircraft_id');
|
||||
}
|
||||
|
||||
public function airline()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Airline', 'airline_id');
|
||||
}
|
||||
|
||||
public function arr_airport()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Airport', 'arr_airport_id');
|
||||
|
||||
Reference in New Issue
Block a user