<?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",
    ];
}
