'array', ]; /** * Get the user to which form is assgined */ public function user() { return $this->belongsTo(\App\User::class, 'assigned_to'); } /** * Get the form which is assigned */ public function form() { return $this->belongsTo(\App\Form::class, 'form_id'); } }