mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
terminada envio lineas
This commit is contained in:
33
ci4/app/Entities/Logistica/EnvioEntity.php
Normal file
33
ci4/app/Entities/Logistica/EnvioEntity.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entities\Logistica;
|
||||
|
||||
use CodeIgniter\Entity\Entity;
|
||||
|
||||
class EnvioEntity extends Entity
|
||||
{
|
||||
protected $attributes = [
|
||||
'finalizado' => 0,
|
||||
'mostrar_precios' => 0,
|
||||
'mostrar_iva' => 0,
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'id' => 'int',
|
||||
'finalizado' => 'boolean',
|
||||
'codigo_seguimiento'=> 'string',
|
||||
'proveedor_id' => 'int',
|
||||
'comentarios' => 'string',
|
||||
'att' => 'string',
|
||||
'direccion' => 'string',
|
||||
'ciudad' => 'string',
|
||||
'cp' => 'string',
|
||||
'email' => 'string',
|
||||
'telefono' => 'string',
|
||||
'pais_id' => 'int',
|
||||
'mostrar_precios' => 'boolean',
|
||||
'mostrar_iva' => 'boolean',
|
||||
'created_at' => 'datetime',
|
||||
'updated_at' => 'datetime',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user