Files
sistema-abogadas-litoral/database/factories/ProfesionFactory.php
T

33 lines
695 B
PHP

<?php
namespace Database\Factories;
use App\Models\Profesion;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Profesion>
*/
class ProfesionFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Profesion::class;
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition(): array
{
return [
'titulo' => $this->faker->unique()->jobTitle(),
'visible_en_formulario' => $this->faker->boolean(80),
];
}
}