dbfdg hasOne('App\Models\Plan', 'id', 'plan_id'); } public function user() { return $this->hasOne('App\Models\User', 'id', 'user_id'); } }