belongsTo('App\Input'); } public function input_value() { return $this->hasOne('App\InputValue'); } }