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:
26
ci4/app/Models/Facturas/FacturaPagoModel.php
Normal file
26
ci4/app/Models/Facturas/FacturaPagoModel.php
Normal file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Facturas;
|
||||
|
||||
class FacturaPagoModel extends \App\Models\BaseModel {
|
||||
|
||||
protected $table = 'facturas_pagos';
|
||||
|
||||
protected $allowedFields = [
|
||||
'factura_id',
|
||||
'notes',
|
||||
'fecha_pago_at',
|
||||
'fecha_vencimiento_at',
|
||||
'forma_pago_id',
|
||||
'total',
|
||||
'deleted_at',
|
||||
'user_update_id'
|
||||
];
|
||||
|
||||
protected $returnType = "App\Entities\Facturas\FacturaPagoEntity";
|
||||
|
||||
protected $useTimestamps = false;
|
||||
protected $useSoftDeletes = true;
|
||||
|
||||
public static $labelField = "id";
|
||||
}
|
||||
Reference in New Issue
Block a user