mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
trabajando en el form
This commit is contained in:
33
ci4/app/Entities/Tarifas/TarifaManipuladoLinea.php
Normal file
33
ci4/app/Entities/Tarifas/TarifaManipuladoLinea.php
Normal 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",
|
||||
];
|
||||
}
|
||||
@ -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",
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user