#feature: add config page

This commit is contained in:
tradewind committed 2025-12-25 18:39:23 +08:00
1 parent 3bcbd0661f
commit cd11a856bb
8 files changed
+704 -119

No files matched your search

@@ -0,0 +1,23 @@
<?php
namespace Database\Factories;
use App\Models\IpUserMapping;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends Factory<IpUserMapping>
*/
class IpUserMappingFactory extends Factory
{
protected $model = IpUserMapping::class;
public function definition(): array
{
return [
'ip_address' => $this->faker->unique()->ipv4(),
'user_name' => $this->faker->userName(),
'remark' => $this->faker->optional()->sentence(6),
];
}
}