<?php
namespace Database\Factories; use App\Models\SerpCheck; use Illuminate\Database\Eloquent\Factories\Factory;
class SerpResultFactory extends Factory {public function definition():array{return ['serp_check_id'=>SerpCheck::factory(),'position'=>fake()->unique()->numberBetween(1,100),'result_type'=>'organic','title'=>fake()->sentence(),'url'=>fake()->url(),'display_url'=>fake()->domainName(),'snippet'=>fake()->sentence(),'is_project_domain'=>false];}}