*/ class TicketResponseFactory extends Factory { /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'ticket_id' => Ticket::factory(), 'user_id' => User::factory(), 'response' => fake()->paragraph(), 'ip_address' => fake()->ipv4(), 'created_at' => now(), 'updated_at' => now(), ]; } }