mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Listado de libros de catalogo
This commit is contained in:
94
ci4/app/Entities/Catalogo/CatalogoLibroEntity.php
Normal file
94
ci4/app/Entities/Catalogo/CatalogoLibroEntity.php
Normal file
@ -0,0 +1,94 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entities\Catalogo;
|
||||
|
||||
use CodeIgniter\Entity\Entity;
|
||||
|
||||
class CatalogoLibroEntity extends Entity
|
||||
{
|
||||
protected $attributes = [
|
||||
'id' => null,
|
||||
'cliente_id' => null,
|
||||
'proveedor_id' => null,
|
||||
'user_created_id' => 1,
|
||||
'user_update_id' => 1,
|
||||
'cubierta_archivo' => null,
|
||||
'cubierta_url' => null,
|
||||
'ancho' => 0.00,
|
||||
'alto' => 0.00,
|
||||
'peso' => null,
|
||||
'titulo' => '',
|
||||
'autor' => '',
|
||||
'autor_entidad' => null,
|
||||
'traductor' => null,
|
||||
'ilustrador' => null,
|
||||
'idioma' => 'spa',
|
||||
'num_edic' => 1,
|
||||
'fecha_disponibilidad' => null,
|
||||
'fecha_public' => null,
|
||||
'num_fotos' => 0,
|
||||
'num_ilustr' => 0,
|
||||
'num_ilustr_color' => 0,
|
||||
'num_ilustr_bn' => 0,
|
||||
'coleccion' => '',
|
||||
'isbn' => null,
|
||||
'ean' => null,
|
||||
'editorial' => '',
|
||||
'resumen' => null,
|
||||
'resumen_breve' => null,
|
||||
'sello' => null,
|
||||
'paginas' => 0,
|
||||
'tipo_impresion' => null,
|
||||
'solapas_ancho' => 0.00,
|
||||
'cubiertas_ancho' => 0.00,
|
||||
'comentarios' => '',
|
||||
'negro_paginas' => null,
|
||||
'negro_papel' => null,
|
||||
'negro_gramaje' => null,
|
||||
'color_paginas' => null,
|
||||
'color_papel' => null,
|
||||
'color_gramaje' => null,
|
||||
'portada_paginas' => null,
|
||||
'portada_papel' => null,
|
||||
'portada_gramaje' => null,
|
||||
'portada_acabado' => null,
|
||||
'cubierta_paginas' => null,
|
||||
'cubierta_papel' => null,
|
||||
'cubierta_gramaje' => null,
|
||||
'cubierta_acabado' => null,
|
||||
'encuardenacion' => '',
|
||||
'ubicacion' => null,
|
||||
'created_at' => null,
|
||||
'updated_at' => null,
|
||||
'deleted_at' => null,
|
||||
];
|
||||
|
||||
protected $dates = ['created_at', 'updated_at', 'deleted_at', 'fecha_disponibilidad', 'fecha_public'];
|
||||
|
||||
protected $casts = [
|
||||
'id' => 'int',
|
||||
'cliente_id' => '?int',
|
||||
'proveedor_id' => '?int',
|
||||
'user_created_id' => 'int',
|
||||
'user_update_id' => 'int',
|
||||
'ancho' => 'float',
|
||||
'alto' => 'float',
|
||||
'peso' => '?float',
|
||||
'num_edic' => '?int',
|
||||
'num_fotos' => '?int',
|
||||
'num_ilustr' => '?int',
|
||||
'num_ilustr_color' => '?int',
|
||||
'num_ilustr_bn' => '?int',
|
||||
'paginas' => 'int',
|
||||
'solapas_ancho' => 'float',
|
||||
'cubiertas_ancho' => 'float',
|
||||
'negro_paginas' => '?int',
|
||||
'negro_gramaje' => '?float',
|
||||
'color_paginas' => '?int',
|
||||
'color_gramaje' => '?float',
|
||||
'portada_paginas' => '?int',
|
||||
'portada_gramaje' => '?float',
|
||||
'cubierta_paginas' => '?int',
|
||||
'cubierta_gramaje' => '?float',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user