Files
horux-strategy-platform/backend/app/Models/MapeoCuenta.php
Torch2196 4c3dc94ff2 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>
2026-01-31 22:24:00 -06:00

32 lines
636 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class MapeoCuenta extends Model
{
use HasFactory;
protected $table = 'mapeo_cuentas';
protected $fillable = [
'cliente_id',
'codigo_patron',
'categoria_contable_id',
'notas',
];
public function cliente(): BelongsTo
{
return $this->belongsTo(Cliente::class);
}
public function categoriaContable(): BelongsTo
{
return $this->belongsTo(CategoriaContable::class);
}
}