mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
22 lines
434 B
PHP
22 lines
434 B
PHP
|
<?php
|
||
|
|
||
|
namespace Database\Factories;
|
||
|
|
||
|
use App\Models\PlaylistFolder;
|
||
|
use App\Models\User;
|
||
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
||
|
|
||
|
class PlaylistFolderFactory extends Factory
|
||
|
{
|
||
|
protected $model = PlaylistFolder::class;
|
||
|
|
||
|
/** @return array<mixed> */
|
||
|
public function definition(): array
|
||
|
{
|
||
|
return [
|
||
|
'user_id' => User::factory(),
|
||
|
'name' => $this->faker->name,
|
||
|
];
|
||
|
}
|
||
|
}
|