Files
safekat/ci4/app/Entities/Tarifas/TarifaEnvioPrecioEntity.php
2023-12-19 15:15:08 +01:00

39 lines
1012 B
PHP
Executable File

<?php
namespace App\Entities\Tarifas;
use CodeIgniter\Entity;
class TarifaEnvioPrecioEntity extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
"id" => null,
"tarifa_envio_id" => null,
"proveedor_id" => null,
"tipo_envio" => null,
"peso_min" => null,
"peso_max" => null,
"precio_min" => null,
"precio_max" => null,
"precio_adicional" => 0,
"margen" => 0,
"user_created_id" => 0,
"user_updated_id" => 0,
"is_deleted" => 0,
"created_at" => null,
"updated_at" => null,
];
protected $casts = [
"tarifa_envio_id" => "int",
"proveedor_id" => "int",
"peso_min" => "float",
"peso_max" => "float",
"precio_min" => "float",
"precio_max" => "float",
"precio_adicional" => "float",
"margen" => "float",
"user_created_id" => "int",
"user_updated_id" => "int",
"is_deleted" => "int",
];
}