'datetime', ]; /** * Get the user settings. */ public function settings() { return $this->hasOne(\App\UserSetting::class); } /** * Get the assigned form for the user */ public function userForms() { return $this->hasMany(\App\UserForm::class, 'assigned_to'); } /** * Get the forms created by the user */ public function createdForms() { return $this->hasMany(\App\Form::class, 'created_by'); } }