hechos modelos y entidades para facturas

This commit is contained in:
jaimejimenezortega
2024-06-25 20:08:17 +02:00
parent 20702a47f8
commit fcaacfbb5d
6 changed files with 231 additions and 0 deletions

View File

@ -0,0 +1,28 @@
<?php
namespace App\Entities\Facturas;
class FacturaPagoEntity extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
'id' => null,
'factura_id' => null,
'notes' => null,
'fecha_pago_at' => null,
'fecha_vencimiento_at' => null,
'forma_pago_id' => null,
'total' => null,
'deleted_at' => null,
'user_update_id' => null,
];
protected $casts = [
'id' => 'int',
'factura_id' => 'int',
'forma_pago_id' => 'int',
'total' => 'float',
];
}