misc_pterodactyl-panel/database/Factories/TaskFactory.php

23 lines
475 B
PHP
Raw Permalink Normal View History

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