mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 22:11:08 +03:30
25 lines
503 B
PHP
Executable File
25 lines
503 B
PHP
Executable File
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Gallery>
|
|
*/
|
|
class GalleryFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'user_id' => \App\Models\User::factory(),
|
|
'path' => $this->faker->imageUrl(),
|
|
];
|
|
}
|
|
}
|