hasOne('App\Models\Client', 'id', 'client_id'); } public function created_by_info(){ // return $this->hasOne('App\Models\Account', 'id', 'auth_user_id'); return $this->hasOne('App\Models\SystemUser', 'id', 'user_id'); } }