mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Merge branch 'dev/ui_fixing' into 'main'
Dev/ui fixing See merge request jjimenez/safekat!29
This commit is contained in:
18
ci4/app/Entities/Configuracion/ComunidadAutonomaEntity.php
Normal file
18
ci4/app/Entities/Configuracion/ComunidadAutonomaEntity.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
namespace App\Entities\Configuracion;
|
||||
|
||||
use CodeIgniter\Entity;
|
||||
|
||||
class ComunidadAutonomaEntity extends \CodeIgniter\Entity\Entity
|
||||
{
|
||||
protected $attributes = [
|
||||
"id" => null,
|
||||
"nombre" => null,
|
||||
"pais_id" => null,
|
||||
"created_at" => null,
|
||||
"updated_at" => null,
|
||||
];
|
||||
protected $casts = [
|
||||
"pais_id" => "int",
|
||||
];
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
namespace App\Entities\Configuracion;
|
||||
|
||||
use CodeIgniter\Entity;
|
||||
|
||||
class ComunidadesAutonomasEntity extends \CodeIgniter\Entity\Entity
|
||||
{
|
||||
protected $attributes = [
|
||||
"id" => null,
|
||||
"nombre" => null,
|
||||
"pais_id" => null,
|
||||
"created_at" => null,
|
||||
"updated_at" => null,
|
||||
];
|
||||
protected $casts = [
|
||||
"pais_id" => "int",
|
||||
];
|
||||
}
|
||||
15
ci4/app/Entities/Configuracion/FormaPagoEntity.php
Normal file
15
ci4/app/Entities/Configuracion/FormaPagoEntity.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
namespace App\Entities\Configuracion;
|
||||
|
||||
use CodeIgniter\Entity;
|
||||
|
||||
class FormaPagoEntity extends \CodeIgniter\Entity\Entity
|
||||
{
|
||||
protected $attributes = [
|
||||
"id" => null,
|
||||
"nombre" => null,
|
||||
"created_at" => null,
|
||||
"updated_at" => null,
|
||||
];
|
||||
protected $casts = [];
|
||||
}
|
||||
15
ci4/app/Entities/Configuracion/FormasPagoEntity.php
Normal file
15
ci4/app/Entities/Configuracion/FormasPagoEntity.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
namespace App\Entities\Configuracion;
|
||||
|
||||
use CodeIgniter\Entity;
|
||||
|
||||
class FormasPagoEntity extends \CodeIgniter\Entity\Entity
|
||||
{
|
||||
protected $attributes = [
|
||||
"id" => null,
|
||||
"nombre" => null,
|
||||
"created_at" => null,
|
||||
"updated_at" => null,
|
||||
];
|
||||
protected $casts = [];
|
||||
}
|
||||
22
ci4/app/Entities/Configuracion/PaisEntity.php
Normal file
22
ci4/app/Entities/Configuracion/PaisEntity.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
namespace App\Entities\Configuracion;
|
||||
|
||||
use CodeIgniter\Entity;
|
||||
|
||||
class PaisEntity extends \CodeIgniter\Entity\Entity
|
||||
{
|
||||
protected $attributes = [
|
||||
"id" => null,
|
||||
"nombre" => null,
|
||||
"code" => null,
|
||||
"code3" => null,
|
||||
"moneda" => null,
|
||||
"url_erp" => null,
|
||||
"user_erp" => null,
|
||||
"key_erp" => null,
|
||||
"show_erp" => false,
|
||||
];
|
||||
protected $casts = [
|
||||
"show_erp" => "boolean",
|
||||
];
|
||||
}
|
||||
19
ci4/app/Entities/Configuracion/ProvinciaEntity.php
Normal file
19
ci4/app/Entities/Configuracion/ProvinciaEntity.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
namespace App\Entities\Configuracion;
|
||||
|
||||
use CodeIgniter\Entity;
|
||||
|
||||
class ProvinciaEntity extends \CodeIgniter\Entity\Entity
|
||||
{
|
||||
protected $attributes = [
|
||||
"id" => null,
|
||||
"code" => null,
|
||||
"nombre" => null,
|
||||
"pais_id" => 1,
|
||||
"created_at" => null,
|
||||
"updated_at" => null,
|
||||
];
|
||||
protected $casts = [
|
||||
"pais_id" => "int",
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user