applicant-site/database/factories/PlaceFactory.php

22 lines
482 B
PHP
Raw Normal View History

2024-02-19 18:55:44 +03:00
<?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(),
2024-02-28 15:03:46 +03:00
'quota' => fake()->randomDigit(),
2024-02-19 18:55:44 +03:00
'education_form_id' => 1,
'place_type_id' => 1,
'direction_id' => 1,
];
}
}