misc_pterodactyl-panel/database/Factories/ScheduleFactory.php

27 lines
489 B
PHP
Raw Normal View History

<?php
2021-01-23 22:07:58 +00:00
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(),
];
}
}