mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-11-04 03:06:54 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			475 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			23 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,
 | 
						|
        ];
 | 
						|
    }
 | 
						|
}
 |