mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
hechos modelos y entidades para facturas
This commit is contained in:
28
ci4/app/Entities/Facturas/FacturaPagoEntity.php
Normal file
28
ci4/app/Entities/Facturas/FacturaPagoEntity.php
Normal 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',
|
||||
];
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user