cambios realizados

This commit is contained in:
jaimejimenezortega
2024-04-22 20:16:15 +02:00
parent 6bfaf12cba
commit a97b73b6fb
6 changed files with 52 additions and 53 deletions

View File

@ -9,8 +9,6 @@ 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,
@ -23,8 +21,6 @@ class TarifaEncuadernacionEntity extends \CodeIgniter\Entity\Entity
"updated_at" => null,
];
protected $casts = [
"precio_min" => "float",
"importe_fijo" => "float",
"mostrar_en_presupuesto" => "int",
"tipo_encuadernacion" => "int",
"servicio_encuadernacion" => "int",

View File

@ -11,6 +11,8 @@ class TarifaEncuadernacionTirada extends \CodeIgniter\Entity\Entity
"tirada_min" => 0,
"tirada_max" => 0,
"proveedor_id" => 0,
"precio_min" => 0,
"importe_fijo" => 0,
"user_created_id" => 0,
"user_updated_id" => 0,
"is_deleted" => 0,
@ -22,6 +24,8 @@ class TarifaEncuadernacionTirada extends \CodeIgniter\Entity\Entity
"tirada_min" => "float",
"tirada_max" => "float",
"proveedor_id" => "int",
"precio_min" => "float",
"importe_fijo" => "float",
"user_created_id" => "int",
"user_updated_id" => "int",
"is_deleted" => "int",