ldc-crm/database/factories/AnswerFactory.php
2025-07-28 09:07:54 +02:00

28 lines
506 B
PHP

<?php
namespace Database\Factories;
use App\Models\Answer;
use Illuminate\Database\Eloquent\Factories\Factory;
class AnswerFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Answer::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition(): array
{
return [
'answer' => $this->faker->realText(20),
];
}
}