'integer', 'lat' => 'float', 'lon' => 'float', 'heading' => 'integer', 'altitude' => 'integer', 'vs' => 'float', 'gs' => 'float', 'transponder' => 'integer', 'fuel_flow' => 'float', ]; public static $rules = [ 'pirep_id' => 'required', ]; /** * FKs */ public function pirep() { return $this->belongsTo('App\Models\Pirep', 'pirep_id'); } }