trabajando en el form

This commit is contained in:
Jaime Jimenez
2023-06-15 21:53:01 +02:00
parent f5e2305a9f
commit 325ae2bd95
12 changed files with 1066 additions and 316 deletions

View File

@ -0,0 +1,33 @@
<?php
namespace App\Entities\Tarifas;
use CodeIgniter\Entity;
class TarifaManipuladoLinea extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
"id" => null,
"tarifa_manipulado_id" => 0,
"tirada_min" => 0,
"tirada_max" => 0,
"precio_min" => 0,
"precio_max" => 0,
"precio_unidad" => 0,
"user_created_id" => 0,
"user_updated_id" => 0,
"is_deleted" => 0,
"created_at" => null,
"updated_at" => null,
];
protected $casts = [
"tarifa_manipulado_id" => "int",
"tirada_min" => "float",
"tirada_max" => "float",
"precio_min" => "float",
"precio_max" => "float",
"precio_unidad" => "float",
"user_created_id" => "int",
"user_updated_id" => "int",
"is_deleted" => "int",
];
}

View File

@ -3,33 +3,20 @@ namespace App\Entities\Tarifas;
use CodeIgniter\Entity;
class TarifamanipuladoEntity extends \CodeIgniter\Entity\Entity
class TarifaManipuladoEntity extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
"id" => null,
"nombre" => null,
"tirada_min" => 0,
"precio_min" => 0,
"tirada_max" => 0,
"precio_max" => null,
"ajuste" => 0,
"ajuste_total_pedido" => 0,
"formula_price" => null,
"user_created_id" => 1,
"user_update_id" => 1,
"deleted_at" => null,
"user_created_id" => 0,
"user_update_id" => 0,
"is_deleted" => 0,
"created_at" => null,
"updated_at" => null,
];
protected $casts = [
"tirada_min" => "int",
"precio_min" => "float",
"tirada_max" => "int",
"precio_max" => "float",
"ajuste" => "float",
"ajuste_total_pedido" => "float",
"user_created_id" => "int",
"user_update_id" => "int",
"is_deleted" => "int",
];
}