añadidas tarifas encuadernacion por horas para los cosidos

This commit is contained in:
Jaime Jiménez Ortega
2023-11-30 23:19:45 +01:00
parent f1eb8f6808
commit 67e12c8eff
24 changed files with 1369 additions and 131 deletions

View File

@ -14,6 +14,7 @@ class TarifaEncuadernacionEntity extends \CodeIgniter\Entity\Entity
"mostrar_en_presupuesto" => 1,
"tipo_encuadernacion" => 0,
"servicio_encuadernacion" => 0,
"por_horas" => 0,
"user_created_id" => 0,
"user_updated_id" => 0,
"is_deleted" => 0,
@ -27,6 +28,7 @@ class TarifaEncuadernacionEntity extends \CodeIgniter\Entity\Entity
"mostrar_en_presupuesto" => "int",
"tipo_encuadernacion" => "int",
"servicio_encuadernacion" => "int",
"por_horas" => "int",
"user_created_id" => "int",
"user_updated_id" => "int",
"is_deleted" => "int",

View File

@ -0,0 +1,31 @@
<?php
namespace App\Entities\Tarifas;
use CodeIgniter\Entity;
class TarifaEncuadernacionLineaHoras extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
"id" => null,
"tirada_encuadernacion_id" => 0,
"tiempo_min" => 0,
"tiempo_max" => 0,
"precio_hora" => 0,
"margen" => 0,
"user_created_id" => 0,
"user_updated_id" => 0,
"is_deleted" => 0,
"created_at" => null,
"updated_at" => null,
];
protected $casts = [
"tirada_encuadernacion_id" => "int",
"tiempo_min" => "float",
"tiempo_max" => "float",
"precio_hora" => "float",
"margen" => "float",
"user_created_id" => "int",
"user_updated_id" => "int",
"is_deleted" => "int",
];
}