mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-22 17:12:30 +01:00
27 lines
489 B
PHP
27 lines
489 B
PHP
|
<?php
|
||
|
|
||
|
namespace Database\Factories;
|
||
|
|
||
|
use Pterodactyl\Models\Schedule;
|
||
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
||
|
|
||
|
class ScheduleFactory extends Factory
|
||
|
{
|
||
|
/**
|
||
|
* The name of the factory's corresponding model.
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
protected $model = Schedule::class;
|
||
|
|
||
|
/**
|
||
|
* Define the model's default state.
|
||
|
*/
|
||
|
public function definition(): array
|
||
|
{
|
||
|
return [
|
||
|
'name' => $this->faker->firstName(),
|
||
|
];
|
||
|
}
|
||
|
}
|