- 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>
22 lines
448 B
PHP
22 lines
448 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Models\User;
|
|
use Illuminate\Database\Seeder;
|
|
use Illuminate\Support\Facades\Hash;
|
|
|
|
class AdminUserSeeder extends Seeder
|
|
{
|
|
public function run(): void
|
|
{
|
|
User::create([
|
|
'nombre' => 'Administrador',
|
|
'email' => 'admin@horux360.com',
|
|
'password' => Hash::make('password'),
|
|
'role' => 'admin',
|
|
'cliente_id' => null,
|
|
]);
|
|
}
|
|
}
|