create factory and seeder for fake data

This commit is contained in:
2025-07-23 08:46:21 +03:30
parent 0b543ac1f0
commit ca89fe0371
13 changed files with 27 additions and 5 deletions

View File

@@ -17,9 +17,11 @@ class ProvinceFactory extends Factory
public function definition(): array
{
return [
'name' => $this->faker->state,
'name' => $this->faker->name(),
'lat' => $this->faker->latitude,
'lon' => $this->faker->longitude,
'ip' => $this->faker->ipv4,
'camera_ip' => $this->faker->ipv4,
];
}
}