<?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,
        "inkjet" => false,
        "rotativa" => 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",
        "rotativa" => "boolean",
        "is_deleted" => "int",
    ];
}
