<?php

namespace App\Entities\Facturas;


class FacturaLineaEntity extends \CodeIgniter\Entity\Entity
{
    protected $attributes = [
        'id' => null,
        'factura_id' => null,
        'pedido_linea_impresion_id' => null,
        'pedido_maquetacion_id' => null,
        'descripcion' => null,
        'cantidad' => null,
        'iva' => null,
        'base' => null,
        'total_iva' => null,
        'total' => null,
        'data' => null,
        'deleted_at' => null,
        'user_updated_id' => null,

    ];

    protected $casts = [
        'id' => 'int',
        'factura_id' => 'int',
        'pedido_linea_impresion_id' => 'int',
        'pedido_maquetacion_id' => 'int',
        'cantidad' => 'float',
        'iva' => 'float',
        'base' => 'float',
        'total_iva' => 'float',
        'total' => 'float',
    ];

}