mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
trabajando
This commit is contained in:
33
ci4/app/Entities/Pedidos/AlbaranLineaEntity.php
Normal file
33
ci4/app/Entities/Pedidos/AlbaranLineaEntity.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?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,
|
||||
];
|
||||
|
||||
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',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user