Terminando formulario 2

This commit is contained in:
Jaime Jimenez
2023-07-12 12:53:52 +02:00
parent 810e1c8b37
commit 1908290167
5 changed files with 678 additions and 0 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",
];
}