mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Terminando formulario 2
This commit is contained in:
36
ci4/app/Entities/Configuracion/MaquinasDefectoEntity.php
Normal file
36
ci4/app/Entities/Configuracion/MaquinasDefectoEntity.php
Normal 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",
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user