Update playlist design
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Models\Episode;
|
||||
use App\Models\Gallery;
|
||||
use App\Models\Hentai;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends Factory<Gallery>
|
||||
*/
|
||||
class GalleryFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'hentai_id' => Hentai::factory(),
|
||||
'episode_id' => Episode::factory(),
|
||||
'image_url' => $this->faker->url(),
|
||||
'thumbnail_url' => $this->faker->url(),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user