belongsTo(UserSubscribe::class, 'user_subscribe_id'); } public function user(): HasOneThrough { return $this->hasOneThrough( User::class, UserSubscribe::class, 'id', 'id', 'user_subscribe_id', 'user_id' ); } }