Initial commit: Horux Strategy Platform
- 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>
This commit is contained in:
43
backend/database/seeders/GirosSeeder.php
Normal file
43
backend/database/seeders/GirosSeeder.php
Normal file
@@ -0,0 +1,43 @@
|
||||
<?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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user