<?php
namespace App\Entities\Clientes;

use CodeIgniter\Entity;

class ClienteDistribuidorEntity extends \CodeIgniter\Entity\Entity
{
    protected $attributes = [
        "id" => null,
        "nombre" => null,
        "cif" => null,
        "direccion" => null,
        "ciudad" => null,
        "cp" => null,
        "email" => null,
        "pais_id" => null,
        "provincia_id" => null,
        "comunidad_autonoma_id" => null,
        "telefono" => null,
        "horarios_entrega" => null,
        "persona_contacto" => null,
        "precio" => null,
        "is_deleted" => 0,
        "created_at" => null,
        "updated_at" => null,
    ];
    protected $casts = [
        "pais_id" => "int",
        "provincia_id" => "int",
        "comunidad_autonoma_id" => "?int",
        "precio" => "?float",
        "is_deleted" => "int",
    ];
}
