hasOne(SystemUser::class,"id","service_id"); } public function user(): HasOne { return $this->hasOne(SaasUserOpen::class,"openid","openid"); } }