mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
37 lines
923 B
PHP
37 lines
923 B
PHP
<?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",
|
|
];
|
|
}
|