forked from aslan/applicant-site
19 lines
324 B
PHP
19 lines
324 B
PHP
|
<?php
|
||
|
|
||
|
namespace Database\Factories;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
||
|
|
||
|
class NewsFactory extends Factory
|
||
|
{
|
||
|
|
||
|
public function definition(): array
|
||
|
{
|
||
|
return [
|
||
|
'name' => fake()->name(),
|
||
|
'text' => fake()->text(),
|
||
|
'photo' => fake()->url(),
|
||
|
];
|
||
|
}
|
||
|
}
|