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