mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 20:41:07 +03:30
27 lines
631 B
PHP
Executable File
27 lines
631 B
PHP
Executable File
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\InputValue>
|
|
*/
|
|
class InputValueFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'value' => $this->faker->word,
|
|
'option_id' => \App\Models\Option::factory(),
|
|
'input_id' => \App\Models\Input::factory(),
|
|
'test_result_id' => \App\Models\TestResult::factory(),
|
|
];
|
|
}
|
|
}
|