Merge branch 'dev/maquinas_defecto' into 'main'

Añadida funcionalidad maquinas por defecto

See merge request jjimenez/safekat!30
This commit is contained in:
2023-07-13 10:10:24 +00:00
30 changed files with 1172 additions and 37 deletions

View File

@ -0,0 +1,36 @@
<?php
namespace App\Entities\Configuracion;
use CodeIgniter\Entity;
class MaquinasDefectoEntity extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
"id" => null,
"tipo" => null,
"ancho_min" => 0.0,
"ancho_max" => 0.0,
"alto_min" => 0.0,
"alto_max" => 0.0,
"tirada_min" => 1,
"tirada_max" => 10000,
"maquina_id" => null,
"user_created_id" => 0,
"user_updated_id" => 0,
"is_deleted" => 0,
"created_at" => null,
"updated_at" => null,
];
protected $casts = [
"ancho_min" => "float",
"ancho_max" => "float",
"alto_min" => "float",
"alto_max" => "float",
"tirada_min" => "int",
"tirada_max" => "int",
"maquina_id" => "int",
"user_created_id" => "int",
"user_updated_id" => "int",
"is_deleted" => "int",
];
}