mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
papel generico terminado. papel impresion a falta de maquinas y tipologias
This commit is contained in:
50
ci4/app/Entities/Configuracion/PapelImpresion.php
Normal file
50
ci4/app/Entities/Configuracion/PapelImpresion.php
Normal file
@ -0,0 +1,50 @@
|
||||
<?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,
|
||||
"ancho" => null,
|
||||
"alto" => null,
|
||||
"mano" => null,
|
||||
"espesor" => 0.0,
|
||||
"gramaje" => null,
|
||||
"precio_tonelada" => null,
|
||||
"margen" => null,
|
||||
"peso_por_pliego" => null,
|
||||
"precio_pliego" => null,
|
||||
"bn" => true,
|
||||
"color" => true,
|
||||
"portada" => false,
|
||||
"cubierta" => false,
|
||||
"rotativa" => false,
|
||||
"is_deleted" => 0,
|
||||
"created_at" => null,
|
||||
"updated_at" => null,
|
||||
];
|
||||
protected $casts = [
|
||||
"papel_generico_id" => "int",
|
||||
"defecto" => "boolean",
|
||||
"ancho" => "float",
|
||||
"alto" => "float",
|
||||
"mano" => "float",
|
||||
"espesor" => "float",
|
||||
"gramaje" => "float",
|
||||
"precio_tonelada" => "float",
|
||||
"peso_por_pliego" => "float",
|
||||
"precio_pliego" => "float",
|
||||
"bn" => "boolean",
|
||||
"color" => "boolean",
|
||||
"portada" => "boolean",
|
||||
"cubierta" => "boolean",
|
||||
"rotativa" => "boolean",
|
||||
"is_deleted" => "int",
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user