forked from Alex/Pterodactyl-Panel
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(),
|
|
];
|
|
}
|
|
}
|