mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-26 03:21:41 +03:00
21 lines
433 B
PHP
21 lines
433 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace Database\Factories;
|
||
|
|
|
||
|
|
use App\Models\WebhookConfiguration;
|
||
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
||
|
|
|
||
|
|
class WebhookConfigurationFactory extends Factory
|
||
|
|
{
|
||
|
|
protected $model = WebhookConfiguration::class;
|
||
|
|
|
||
|
|
public function definition(): array
|
||
|
|
{
|
||
|
|
return [
|
||
|
|
'endpoint' => fake()->url(),
|
||
|
|
'description' => fake()->sentence(),
|
||
|
|
'events' => [],
|
||
|
|
];
|
||
|
|
}
|
||
|
|
}
|