cambios de legacytables3

This commit is contained in:
Jaime Jiménez
2023-05-16 12:59:12 +02:00
parent ea0c714550
commit 5a0b82dcbb
58 changed files with 2955 additions and 468 deletions

View File

@ -0,0 +1,14 @@
<?php
namespace App\Entities\Configuracion;
use CodeIgniter\Entity;
class TipologiasEntity extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
"id" => null,
"nombre" => null,
"code" => null,
];
protected $casts = [];
}

View File

@ -0,0 +1,33 @@
<?php
namespace App\Entities\Tarifas;
use CodeIgniter\Entity;
class TarifamanipuladoEntity extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
"id" => null,
"nombre" => null,
"tirada_min" => 0,
"precio_min" => 0,
"tirada_max" => 0,
"precio_max" => null,
"ajuste" => 0,
"ajuste_total_pedido" => 0,
"formula_price" => null,
"user_created_id" => 1,
"user_update_id" => 1,
"created_at" => null,
"updated_at" => null,
];
protected $casts = [
"tirada_min" => "int",
"precio_min" => "float",
"tirada_max" => "int",
"precio_max" => "float",
"ajuste" => "float",
"ajuste_total_pedido" => "float",
"user_created_id" => "int",
"user_update_id" => "int",
];
}

View File

@ -0,0 +1,22 @@
<?php
namespace App\Entities\Tarifas;
use CodeIgniter\Entity;
class TarifapreimpresionEntity extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
"id" => null,
"nombre" => null,
"precio" => null,
"user_created_id" => 1,
"user_update_id" => 1,
"created_at" => null,
"updated_at" => null,
];
protected $casts = [
"precio" => "float",
"user_created_id" => "int",
"user_update_id" => "int",
];
}