<?php
namespace App\Entities\Compras;

use CodeIgniter\Entity;

class ProveedorEntity extends \CodeIgniter\Entity\Entity
{
    protected $attributes = [
        "id" => null,
        "nombre" => null,
        "tipo_id" => null,
        "razon_social" => null,
        "cif" => null,
        "direccion" => null,
        "cp" => null,
        "ciudad" => null,
        "provincia_id" => null,
        "pais_id" => 1,
        "persona_contacto" => null,
        "email" => null,
        "telefono" => null,
        "propiedades" => null,
        "is_deleted" => 0,
        "created_at" => null,
        "updated_at" => null,
    ];
    protected $casts = [
        "tipo_id" => "?int",
        "provincia_id" => "int",
        "pais_id" => "int",
        "is_deleted" => "int",
    ];
}
