Files
2024-12-24 10:33:18 +01:00

30 lines
785 B
PHP

<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Carbon;
use Pterodactyl\Models\Bagou\Subdomain\Domain;
class DomainFactory extends Factory
{
protected $model = Domain::class;
public function definition()
{
return [
'created_at' => Carbon::now(),
'updated_at' => Carbon::now(),
'name' => $this->faker->name(),
'displayType' => $this->faker->word(),
'type' => $this->faker->word(),
'key' => $this->faker->word(),
'secret' => $this->faker->word(),
'consumer' => $this->faker->word(),
'cloudflare_id' => $this->faker->word(),
'ovh_api' => $this->faker->word(),
];
}
}