⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
makarnacimmix.xyz
/
database
/
factories
/
Edit File: ClientFactory.php
<?php namespace Database\Factories; use Illuminate\Database\Eloquent\Factories\Factory; /** * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Model> */ class ClientFactory extends Factory { /** * Define the model's default state. * * @return array<string, mixed> */ public function definition() { return [ 'name' => $this->faker->name(), 'email' => $this->faker->unique()->safeEmail(), 'company_name' => $this->faker->company(), 'slug' => $this->faker->unique()->slug(), 'client_id' => $this->faker->uuid(), 'phone' => $this->faker->unique()->phoneNumber(), 'address' => $this->faker->address(), 'status' => $this->faker->boolean(), 'image_path' => $this->faker->imageUrl(), ]; } }
Simpan