mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
37 lines
960 B
PHP
Executable File
37 lines
960 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Entities\Tarifas;
|
|
|
|
use CodeIgniter\Entity;
|
|
|
|
class TarifaEncuadernacionEntity extends \CodeIgniter\Entity\Entity
|
|
{
|
|
protected $attributes = [
|
|
"id" => null,
|
|
"nombre" => null,
|
|
"precio_min" => 0,
|
|
"importe_fijo" => 0,
|
|
"mostrar_en_presupuesto" => 1,
|
|
"tipo_encuadernacion" => 0,
|
|
"servicio_encuadernacion" => 0,
|
|
"por_horas" => 0,
|
|
"user_created_id" => 0,
|
|
"user_updated_id" => 0,
|
|
"is_deleted" => 0,
|
|
"deleted_at" => null,
|
|
"created_at" => null,
|
|
"updated_at" => null,
|
|
];
|
|
protected $casts = [
|
|
"precio_min" => "float",
|
|
"importe_fijo" => "float",
|
|
"mostrar_en_presupuesto" => "int",
|
|
"tipo_encuadernacion" => "int",
|
|
"servicio_encuadernacion" => "int",
|
|
"por_horas" => "int",
|
|
"user_created_id" => "int",
|
|
"user_updated_id" => "int",
|
|
"is_deleted" => "int",
|
|
];
|
|
}
|