Merge branch 'main' into 'dev/plantillas_clientes'

# Conflicts:
#   ci4/app/Entities/Clientes/ClientePreciosEntity.php
#   ci4/app/Models/Clientes/ClientePreciosModel.php
This commit is contained in:
2023-12-30 09:38:09 +00:00
16 changed files with 384 additions and 17 deletions

View File

@ -0,0 +1,19 @@
<?php
namespace App\Entities\Cliente;
use CodeIgniter\Entity;
class ClientePlantillaPreciosEntity extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
"id" => null,
"nombre" => null,
"is_deleted" => 0,
"deleted_at" => null,
"created_at" => null,
"updated_at" => null,
];
protected $casts = [
"is_deleted" => "int",
];
}

View File

@ -0,0 +1,29 @@
<?php
namespace App\Entities\Cliente;
use CodeIgniter\Entity;
class ClientePreciosEntity extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
"id" => null,
"plantilla_id" => null,
"tipo" => null,
"tipo_maquina" => null,
"tipo_impresion" => null,
"tiempo_min" => null,
"tiempo_max" => null,
"margen" => null,
"is_deleted" => 0,
"deleted_at" => null,
"created_at" => null,
"updated_at" => null,
];
protected $casts = [
"plantilla_id" => "int",
"tiempo_min" => "float",
"tiempo_max" => "float",
"margen" => "float",
"is_deleted" => "int",
];
}