Files
safekat/ci4/app/Entities/Configuracion/PapelImpresion.php

49 lines
1.3 KiB
PHP
Executable File

<?php
namespace App\Entities\Configuracion;
use CodeIgniter\Entity;
class PapelImpresion extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
"id" => null,
"papel_generico_id" => null,
"nombre" => null,
"defecto" => false,
"referencia" => null,
"mano" => null,
"espesor" => 0.0,
"gramaje" => null,
"precio_tonelada" => null,
"bn" => true,
"color" => true,
"cubierta" => false,
"sobrecubierta" => false,
"guardas" => false,
"inkjet" => false,
"rotativa" => false,
"isActivo" => true,
"use_in_client" => false,
"is_deleted" => 0,
"created_at" => null,
"updated_at" => null,
];
protected $casts = [
"papel_generico_id" => "int",
"defecto" => "boolean",
"mano" => "float",
"espesor" => "float",
"gramaje" => "float",
"precio_tonelada" => "float",
"bn" => "boolean",
"color" => "boolean",
"cubierta" => "boolean",
"sobrecubierta" => "boolean",
"guardas" => "boolean",
"rotativa" => "boolean",
"isActivo" => "boolean",
"use_in_client" => "boolean",
"is_deleted" => "int",
];
}