hasOne(User::class, 'id', 'user_id'); } public function live() { return $this->hasOne(InteractLive::class, 'id', 'live_id'); } }