2021-01-23 20:09:16 +00:00
|
|
|
<?php
|
|
|
|
|
2021-01-23 22:05:35 +00:00
|
|
|
namespace Database\factories2;
|
2021-01-23 20:09:16 +00:00
|
|
|
|
|
|
|
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(),
|
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|