mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
40 lines
1.0 KiB
PHP
40 lines
1.0 KiB
PHP
<?php
|
|
namespace App\Entities\Pedidos;
|
|
|
|
use CodeIgniter\Entity;
|
|
|
|
class AlbaranLineaEntity extends \CodeIgniter\Entity\Entity
|
|
{
|
|
protected $attributes = [
|
|
'id' => null,
|
|
'albaran_id' => null,
|
|
'titulo' => null,
|
|
'isbn' => null,
|
|
'ref_cliente' => null,
|
|
'cantidad' => null,
|
|
'cajas' => null,
|
|
'ejemplares_por_caja' => null,
|
|
'precio_unidad' => null,
|
|
'total' => null,
|
|
'user_created_id' => null,
|
|
'user_updated_id' => null,
|
|
'created_at' => null,
|
|
'updated_at' => null,
|
|
'deleted_at' => null,
|
|
];
|
|
|
|
protected $casts = [
|
|
'id' => 'integer',
|
|
'albaran_id' => '?integer',
|
|
'titulo' => 'string',
|
|
'isbn' => '?string',
|
|
'ref_cliente' => '?string',
|
|
'cantidad' => '?integer',
|
|
'cajas' => '?integer',
|
|
'ejemplares_por_caja' => '?integer',
|
|
'precio_unidad' => 'float',
|
|
'total' => 'float',
|
|
'user_created_id' => 'integer',
|
|
'user_updated_id' => 'integer',
|
|
];
|
|
} |