forked from aslan/applicant-site
21 lines
457 B
PHP
21 lines
457 B
PHP
|
<?php
|
||
|
|
||
|
namespace Database\Factories;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
||
|
|
||
|
class DocumentFactory extends Factory
|
||
|
{
|
||
|
public function definition(): array
|
||
|
{
|
||
|
return [
|
||
|
'name' => fake()->name(),
|
||
|
'file_name' => fake()->name(),
|
||
|
'description' => fake()->text(),
|
||
|
'url' => fake()->url(),
|
||
|
'position' => fake()->randomDigit(),
|
||
|
'admission_id' => 1,
|
||
|
];
|
||
|
}
|
||
|
}
|