ldc-crm/database/factories/AnswerFactory.php

29 lines
499 B
PHP
Raw Permalink Normal View History

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