#feature: add config page

This commit is contained in:
2025-12-25 18:39:23 +08:00
parent 3bcbd0661f
commit cd11a856bb
8 changed files with 704 additions and 119 deletions

View File

@@ -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),
];
}
}