mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
68 lines
2.0 KiB
PHP
Executable File
68 lines
2.0 KiB
PHP
Executable File
<?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" => 100.0,
|
|
"alto" => 100.0,
|
|
"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_inkjet" => false,
|
|
"precio_tinta_color" => 0.0,
|
|
"precio_tinta_cg" => 0.0,
|
|
"velocidad_corte" => 0.0,
|
|
"precio_hora_corte" => 0.0,
|
|
"metrosxminuto" => 0.0,
|
|
"forzar_num_formas_horizontales_cubierta" => null,
|
|
"forzar_num_formas_verticales_cubierta" => null,
|
|
"observaciones" => "",
|
|
"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_inkjet" => "boolean",
|
|
"precio_tinta_color" => "float",
|
|
"precio_tinta_cg" => "float",
|
|
"velocidad_corte" => "float",
|
|
"precio_hora_corte" => "float",
|
|
"forzar_num_formas_horizontales_cubierta" => "?int",
|
|
"forzar_num_formas_verticales_cubierta" => "?int",
|
|
"is_deleted" => "int",
|
|
"user_created_id" => "int",
|
|
"user_updated_id" => "int",
|
|
];
|
|
}
|