- Laravel 11 backend with API REST - React 18 + TypeScript + Vite frontend - Multi-parser architecture for accounting systems (CONTPAQi, Aspel, SAP) - 27+ financial metrics calculation - PDF report generation with Browsershot - Complete documentation (10 documents) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
44 lines
1.0 KiB
PHP
44 lines
1.0 KiB
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Models\Giro;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class GirosSeeder extends Seeder
|
|
{
|
|
public function run(): void
|
|
{
|
|
$giros = [
|
|
'Agricultura y Ganadería',
|
|
'Alimentos y Bebidas',
|
|
'Automotriz',
|
|
'Comercio al por Mayor',
|
|
'Comercio al por Menor',
|
|
'Construcción',
|
|
'Educación',
|
|
'Energía',
|
|
'Farmacéutica',
|
|
'Financiero',
|
|
'Hotelería',
|
|
'Inmobiliario',
|
|
'Logística y Transporte',
|
|
'Manufactura',
|
|
'Medios y Entretenimiento',
|
|
'Minería',
|
|
'Restaurantes',
|
|
'Salud',
|
|
'Servicios Profesionales',
|
|
'Tecnología',
|
|
'Telecomunicaciones',
|
|
'Textil y Moda',
|
|
'Turismo',
|
|
'Otro',
|
|
];
|
|
|
|
foreach ($giros as $nombre) {
|
|
Giro::create(['nombre' => $nombre, 'activo' => true]);
|
|
}
|
|
}
|
|
}
|