mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
trabajando en el formulario maquinas
This commit is contained in:
65
ci4/app/Entities/Configuracion/Maquina.php
Normal file
65
ci4/app/Entities/Configuracion/Maquina.php
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
namespace App\Entities\Configuracion;
|
||||
|
||||
use CodeIgniter\Entity;
|
||||
|
||||
class Maquina extends \CodeIgniter\Entity\Entity
|
||||
{
|
||||
protected $attributes = [
|
||||
"id" => null,
|
||||
"nombre" => null,
|
||||
"is_padre" => false,
|
||||
"tipo" => null,
|
||||
"velocidad" => 0.0,
|
||||
"ancho" => null,
|
||||
"alto" => null,
|
||||
"ancho_impresion" => 0.0,
|
||||
"alto_impresion" => 0.0,
|
||||
"alto_click" => 0.0,
|
||||
"padre_id" => null,
|
||||
"min" => 1,
|
||||
"max" => 1000000,
|
||||
"duracion_jornada" => 8,
|
||||
"orden_planning" => 1,
|
||||
"is_rotativa" => false,
|
||||
"precio_tinta_negro" => 0.0,
|
||||
"is_tinta" => false,
|
||||
"precio_tinta_color" => 0.0,
|
||||
"velocidad_corte" => 0.0,
|
||||
"precio_hora_corte" => 0.0,
|
||||
"metrosxminuto" => null,
|
||||
"forzar_num_formas_horizontales_portada" => null,
|
||||
"forzar_num_formas_verticales_portada" => null,
|
||||
"observaciones" => null,
|
||||
"is_deleted" => 0,
|
||||
"created_at" => null,
|
||||
"updated_at" => null,
|
||||
"user_created_id" => 0,
|
||||
"user_updated_id" => 0,
|
||||
];
|
||||
protected $casts = [
|
||||
"is_padre" => "boolean",
|
||||
"velocidad" => "float",
|
||||
"ancho" => "?float",
|
||||
"alto" => "?float",
|
||||
"ancho_impresion" => "float",
|
||||
"alto_impresion" => "float",
|
||||
"alto_click" => "float",
|
||||
"padre_id" => "?int",
|
||||
"min" => "int",
|
||||
"max" => "int",
|
||||
"duracion_jornada" => "int",
|
||||
"orden_planning" => "int",
|
||||
"is_rotativa" => "boolean",
|
||||
"precio_tinta_negro" => "float",
|
||||
"is_tinta" => "boolean",
|
||||
"precio_tinta_color" => "float",
|
||||
"velocidad_corte" => "float",
|
||||
"precio_hora_corte" => "float",
|
||||
"forzar_num_formas_horizontales_portada" => "?int",
|
||||
"forzar_num_formas_verticales_portada" => "?int",
|
||||
"is_deleted" => "int",
|
||||
"user_created_id" => "int",
|
||||
"user_updated_id" => "int",
|
||||
];
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
namespace App\Entities\Configuracion;
|
||||
|
||||
use CodeIgniter\Entity;
|
||||
|
||||
class MaquinasPapelesImpresionEntity extends \CodeIgniter\Entity\Entity
|
||||
{
|
||||
protected $attributes = [
|
||||
"maquina_id" => null,
|
||||
"papel_impresion_id" => null,
|
||||
"active" => null,
|
||||
];
|
||||
protected $casts = [
|
||||
"maquina_id" => "int",
|
||||
"papel_impresion_id" => "int",
|
||||
"active" => "int",
|
||||
];
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
namespace App\Entities\Configuracion;
|
||||
|
||||
use CodeIgniter\Entity;
|
||||
|
||||
class MaquinasTarifasImpresionEntity extends \CodeIgniter\Entity\Entity
|
||||
{
|
||||
protected $attributes = [
|
||||
"id" => null,
|
||||
"maquina_id" => null,
|
||||
"tipo" => null,
|
||||
"precio" => null,
|
||||
"uso" => null,
|
||||
"predeterminado" => false,
|
||||
"user_created_id" => 0,
|
||||
"user_updated_id" => 0,
|
||||
"is_deleted" => 0,
|
||||
"created_at" => null,
|
||||
"updated_at" => null,
|
||||
];
|
||||
protected $casts = [
|
||||
"maquina_id" => "int",
|
||||
"precio" => "float",
|
||||
"predeterminado" => "boolean",
|
||||
"user_created_id" => "int",
|
||||
"user_updated_id" => "int",
|
||||
"is_deleted" => "int",
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user