mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-02-09 13:14:07 -06:00
33 lines
712 B
PHP
33 lines
712 B
PHP
<?php
|
|
|
|
/* @var \Illuminate\Database\Eloquent\Factory $factory */
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\Application;
|
|
use App\Models\ApplicationImageProof;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class ApplicationImageProofFactory extends Factory
|
|
{
|
|
/**
|
|
* The name of the factory's corresponding model.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $model = ApplicationImageProof::class;
|
|
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array
|
|
*/
|
|
public function definition()
|
|
{
|
|
return [
|
|
'application_id' => fn () => Application::factory()->create()->id,
|
|
'image' => $this->faker->word(),
|
|
];
|
|
}
|
|
}
|