This commit is contained in:
Lizandro Guarnizo
2026-01-06 15:35:59 -05:00
commit a768146f65
602 changed files with 42505 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
use App\Models\Proveedor;
class ProveedorFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Proveedor::class;
/**
* Define the model's default state.
*/
public function definition(): array
{
return [
'nombre' => fake()->regexify('[A-Za-z0-9]{255}'),
'contacto' => fake()->regexify('[A-Za-z0-9]{255}'),
'telefono' => fake()->regexify('[A-Za-z0-9]{20}'),
'correo' => fake()->regexify('[A-Za-z0-9]{255}'),
'direccion' => fake()->text(),
];
}
}