misc_pterodactyl-panel/database/Factories/TaskFactory.php

22 lines
475 B
PHP

<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
class TaskFactory extends Factory
{
/**
* Define the model's default state.
*/
public function definition(): array
{
return [
'sequence_id' => $this->faker->numberBetween(1, 10),
'action' => 'command',
'payload' => 'test command',
'time_offset' => 120,
'is_queued' => false,
];
}
}