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

33 lines
676 B
PHP

<?php
namespace Database\Factories;
use App\Models\Servicio;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Servicio>
*/
class ServicioFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Servicio::class;
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition(): array
{
return [
'nombre' => $this->faker->words(3, true),
'descripcion' => $this->faker->sentence(12),
];
}
}