571 lines
15 KiB
PHP
571 lines
15 KiB
PHP
<?php
|
|
|
|
use Phinx\Seed\AbstractSeed;
|
|
|
|
class AgenteSeeder extends AbstractSeed
|
|
{
|
|
public function run(): void
|
|
{
|
|
$data = [
|
|
[
|
|
'id' => 1,
|
|
'tipo' => 8,
|
|
'rut' => 0,
|
|
'descripcion' => 'Ricardo Vial Procasa',
|
|
'representante' => 'Ricardo Vial Rodriguez',
|
|
'telefono' => null,
|
|
'correo' => 'rvial@procasa.cl',
|
|
'direccion' => null,
|
|
'giro' => null,
|
|
'abreviacion' => 'Procasa',
|
|
],
|
|
[
|
|
'id' => 2,
|
|
'tipo' => 19,
|
|
'rut' => null,
|
|
'descripcion' => 'Pro Rent',
|
|
'representante' => 'Victor Alvarado',
|
|
'telefono' => null,
|
|
'correo' => 'valvarado@pro-rent.cl',
|
|
'direccion' => null,
|
|
'giro' => null,
|
|
'abreviacion' => 'Pro Rent',
|
|
],
|
|
[
|
|
'id' => 3,
|
|
'tipo' => 19,
|
|
'rut' => null,
|
|
'descripcion' => 'Land Capital',
|
|
'representante' => 'Ricardo Vial Cox',
|
|
'telefono' => null,
|
|
'correo' => 'r.vial@landcapital.cl',
|
|
'direccion' => null,
|
|
'giro' => null,
|
|
'abreviacion' => 'Land Capital',
|
|
],
|
|
[
|
|
'id' => 4,
|
|
'tipo' => 9,
|
|
'rut' => 6313959,
|
|
'descripcion' => 'Manuel Enrique Venegas Chaparro',
|
|
'representante' => 'Manuel Venegas Chaparro',
|
|
'telefono' => 222362886,
|
|
'correo' => null,
|
|
'direccion' => 194,
|
|
'giro' => 'Producciones Publicitarias',
|
|
'abreviacion' => 'Manuel Venegas',
|
|
],
|
|
[
|
|
'id' => 5,
|
|
'tipo' => 1,
|
|
'rut' => 76386280,
|
|
'descripcion' => 'Squella Arquitectos Limitada',
|
|
'representante' => 'Juan Sebastian Squella Correa',
|
|
'telefono' => 985285700,
|
|
'correo' => 'sebastiansquella@squellaarquitectos.cl',
|
|
'direccion' => 65,
|
|
'giro' => null,
|
|
'abreviacion' => 'Squella',
|
|
],
|
|
[
|
|
'id' => 6,
|
|
'tipo' => 2,
|
|
'rut' => 76231860,
|
|
'descripcion' => 'Constructora Casablanca Limitada',
|
|
'representante' => 'Jose Vidal Garcia-Huidobro',
|
|
'telefono' => 998208256,
|
|
'correo' => 'jvidal@casablanca.cl',
|
|
'direccion' => 66,
|
|
'giro' => null,
|
|
'abreviacion' => 'Casablanca',
|
|
],
|
|
[
|
|
'id' => 8,
|
|
'tipo' => 10,
|
|
'rut' => 78173940,
|
|
'descripcion' => 'Jose Vidal y Compañia Limitada',
|
|
'representante' => 'Jose Vidal Garcia-Huidobro',
|
|
'telefono' => 224700170,
|
|
'correo' => 'jvidal@constructoracasablanca.cl',
|
|
'direccion' => 195,
|
|
'giro' => 'Actividades de Asesoramiento',
|
|
'abreviacion' => 'Jose Vidal',
|
|
],
|
|
[
|
|
'id' => 9,
|
|
'tipo' => 11,
|
|
'rut' => 78017310,
|
|
'descripcion' => 'Asesorias e Inversiones B y V Trust Limitada',
|
|
'representante' => 'Juan Pablo Vial Rodriguez',
|
|
'telefono' => 294450117,
|
|
'correo' => 'jpvial@byvtrust.cl',
|
|
'direccion' => 196,
|
|
'giro' => null,
|
|
'abreviacion' => 'B y V Trust',
|
|
],
|
|
[
|
|
'id' => 10,
|
|
'tipo' => 10,
|
|
'rut' => 78017310,
|
|
'descripcion' => 'Asesorias e Inversiones B y V Trust Limitada',
|
|
'representante' => 'Juan Pablo Vial Rodriguez',
|
|
'telefono' => 294450117,
|
|
'correo' => 'jpvial@byvtrust.cl',
|
|
'direccion' => 196,
|
|
'giro' => null,
|
|
'abreviacion' => 'B y V Trust',
|
|
],
|
|
[
|
|
'id' => 11,
|
|
'tipo' => 12,
|
|
'rut' => 77907270,
|
|
'descripcion' => 'Ulloa y Compañia Limitada',
|
|
'representante' => 'Manuel Ulloa ',
|
|
'telefono' => null,
|
|
'correo' => '',
|
|
'direccion' => 196,
|
|
'giro' => null,
|
|
'abreviacion' => 'Ulloa',
|
|
],
|
|
[
|
|
'id' => 12,
|
|
'tipo' => 9,
|
|
'rut' => 76352109,
|
|
'descripcion' => 'Meli Inversiones SpA',
|
|
'representante' => 'Rene Mestre ',
|
|
'telefono' => 224112700,
|
|
'correo' => '',
|
|
'direccion' => 197,
|
|
'giro' => null,
|
|
'abreviacion' => 'Portal Inmobiliario',
|
|
],
|
|
[
|
|
'id' => 13,
|
|
'tipo' => 13,
|
|
'rut' => 76363534,
|
|
'descripcion' => 'Avalchile Seguros de Credito y Garantia S.A.',
|
|
'representante' => 'Marcela Kloss Jijena',
|
|
'telefono' => 974790438,
|
|
'correo' => 'mkloss@avalchileseguros.cl ',
|
|
'direccion' => 198,
|
|
'giro' => null,
|
|
'abreviacion' => 'Avalchile',
|
|
],
|
|
[
|
|
'id' => 14,
|
|
'tipo' => 9,
|
|
'rut' => 10892531,
|
|
'descripcion' => 'Maria del Carmen Castanos de Mayo',
|
|
'representante' => 'Maria del Carmen Castaños de Mayo',
|
|
'telefono' => 225342436,
|
|
'correo' => '',
|
|
'direccion' => 199,
|
|
'giro' => 'Sociedades de Inversion y Rentistas de Capitales Mobiliarios en General, Empresas de Publicidad',
|
|
'abreviacion' => 'Maricarmen Castaños',
|
|
],
|
|
[
|
|
'id' => 15,
|
|
'tipo' => 14,
|
|
'rut' => 76908370,
|
|
'descripcion' => 'Cruz y Cia Abogados SA',
|
|
'representante' => 'Cristian Rodriguez ',
|
|
'telefono' => 224901400,
|
|
'correo' => 'crodriguez@cruzabogados.cl ',
|
|
'direccion' => 200,
|
|
'giro' => 'Servicios Juridicos, Asesorias Juridicas Sociales y Legales',
|
|
'abreviacion' => 'Cruz y Cia',
|
|
],
|
|
[
|
|
'id' => 16,
|
|
'tipo' => 10,
|
|
'rut' => 99543380,
|
|
'descripcion' => 'Ingenieria y Construccion Vial Balmaceda SA',
|
|
'representante' => 'Juan Pablo Vial Rodriguez',
|
|
'telefono' => 990155455,
|
|
'correo' => 'jpvial@incoviba.cl',
|
|
'direccion' => 196,
|
|
'giro' => '',
|
|
'abreviacion' => 'Incoviba',
|
|
],
|
|
[
|
|
'id' => 17,
|
|
'tipo' => 9,
|
|
'rut' => 76170725,
|
|
'descripcion' => 'Copesa SA',
|
|
'representante' => ' ',
|
|
'telefono' => 225507000,
|
|
'correo' => 'cobranzas@grupocopesa.cl',
|
|
'direccion' => 202,
|
|
'giro' => 'Publicacion, Edicion e Impresion de Periodicos y Revistas a Nivel Nacional, Digitalizacion de Contenidos Editoriales',
|
|
'abreviacion' => 'Copesa',
|
|
],
|
|
[
|
|
'id' => 18,
|
|
'tipo' => 9,
|
|
'rut' => 80470300,
|
|
'descripcion' => 'Max Huber Reprotecnica SA',
|
|
'representante' => ' ',
|
|
'telefono' => 223816470,
|
|
'correo' => 'info@maxhuber.cl',
|
|
'direccion' => 203,
|
|
'giro' => 'Servicios de Impresion, Digitalizacion, Servicio de Fotocopias, Encuadernacion, Reproduccion, Servicios Integrales de Informatica, Exportacion de Servicios',
|
|
'abreviacion' => 'Max Hüber',
|
|
],
|
|
[
|
|
'id' => 19,
|
|
'tipo' => 15,
|
|
'rut' => 78927300,
|
|
'descripcion' => 'Ruz y Vukasovic Ingenieria de Suelos Limitada',
|
|
'representante' => 'Manuel Ruz Jorquera',
|
|
'telefono' => 222453362,
|
|
'correo' => '',
|
|
'direccion' => 204,
|
|
'giro' => 'Estudio de Suelos, Asesorias y Proyectos de Ingenieria',
|
|
'abreviacion' => 'R&V',
|
|
],
|
|
[
|
|
'id' => 20,
|
|
'tipo' => 3,
|
|
'rut' => 76053800,
|
|
'descripcion' => 'Eduardo Rodriguez y Asociados Limitada',
|
|
'representante' => 'Eduardo Rodriguez ',
|
|
'telefono' => 222320720,
|
|
'correo' => 'rysing@rysing.cl',
|
|
'direccion' => 205,
|
|
'giro' => 'Calculo Estructural, Asesorias de Ingenieria, Inspeccion Tecnica',
|
|
'abreviacion' => 'Eduardo Rodriguez',
|
|
],
|
|
[
|
|
'id' => 21,
|
|
'tipo' => 16,
|
|
'rut' => 96719620,
|
|
'descripcion' => 'ADT Security Services SA',
|
|
'representante' => ' ',
|
|
'telefono' => null,
|
|
'correo' => '',
|
|
'direccion' => 206,
|
|
'giro' => 'Asesorias, venta e instalacion en equipos de seguridad, exportacion articulos seguridad',
|
|
'abreviacion' => 'ADT',
|
|
],
|
|
[
|
|
'id' => 22,
|
|
'tipo' => 9,
|
|
'rut' => 76009942,
|
|
'descripcion' => 'Pabellon de la Construccion SA',
|
|
'representante' => ' ',
|
|
'telefono' => 2,
|
|
'correo' => '',
|
|
'direccion' => 207,
|
|
'giro' => 'Promocion, Exhibicion, publicidad',
|
|
'abreviacion' => 'Pabellon',
|
|
],
|
|
[
|
|
'id' => 23,
|
|
'tipo' => 9,
|
|
'rut' => 90193000,
|
|
'descripcion' => 'Empresa El Mercurio SA Periodistica',
|
|
'representante' => ' ',
|
|
'telefono' => 223301111,
|
|
'correo' => '',
|
|
'direccion' => 208,
|
|
'giro' => 'Editora de Diarios y Revistas, Publicidad',
|
|
'abreviacion' => 'El Mercurop',
|
|
],
|
|
[
|
|
'id' => 24,
|
|
'tipo' => 17,
|
|
'rut' => 10839254,
|
|
'descripcion' => 'Fernando Eugenio Rodriguez Garrido',
|
|
'representante' => 'Fernando Eugenio Rodriguez Garrido',
|
|
'telefono' => 225143051,
|
|
'correo' => '',
|
|
'direccion' => 210,
|
|
'giro' => 'Otras Actividades de Servicios Personales',
|
|
'abreviacion' => 'Fernando Rodriguez',
|
|
],
|
|
[
|
|
'id' => 25,
|
|
'tipo' => 19,
|
|
'rut' => 0,
|
|
'descripcion' => 'Patricio Canales',
|
|
'representante' => 'Patricio Canales',
|
|
'telefono' => 2,
|
|
'correo' => '',
|
|
'direccion' => 211,
|
|
'giro' => '',
|
|
'abreviacion' => 'Pato Canales',
|
|
],
|
|
[
|
|
'id' => 26,
|
|
'tipo' => 19,
|
|
'rut' => 0,
|
|
'descripcion' => 'Victor Larenas',
|
|
'representante' => 'Victor Larenas',
|
|
'telefono' => 2,
|
|
'correo' => ' ',
|
|
'direccion' => 211,
|
|
'giro' => ' ',
|
|
'abreviacion' => 'Victor Larenas',
|
|
],
|
|
[
|
|
'id' => 27,
|
|
'tipo' => 17,
|
|
'rut' => 8511185,
|
|
'descripcion' => 'Patricio Alfredo Cancino Reyes',
|
|
'representante' => 'Patricio Alfredo Cancino Reyes',
|
|
'telefono' => 223123186,
|
|
'correo' => '',
|
|
'direccion' => 212,
|
|
'giro' => 'Servicios Profesionales de Topografia y Agrimensura',
|
|
'abreviacion' => 'Patricio Cancino',
|
|
],
|
|
[
|
|
'id' => 28,
|
|
'tipo' => 6,
|
|
'rut' => 77087640,
|
|
'descripcion' => 'Asesorias e Inversiones Felipe Edwards Limitada',
|
|
'representante' => 'Felipe Edwards ',
|
|
'telefono' => 229541855,
|
|
'correo' => 'amedwards@felipeedwards.cl',
|
|
'direccion' => 213,
|
|
'giro' => 'Asesoria en Gestion Inmobiliaria en Construccion',
|
|
'abreviacion' => 'Felipe Edwards',
|
|
],
|
|
[
|
|
'id' => 29,
|
|
'tipo' => 9,
|
|
'rut' => 76338181,
|
|
'descripcion' => 'Arquitectura Copy Paste Limitada',
|
|
'representante' => ' ',
|
|
'telefono' => 2,
|
|
'correo' => 'contacto@arqcopypaste.cl',
|
|
'direccion' => 214,
|
|
'giro' => 'Servicio de Fotocopiado, Reducciones, Copias de Planos y Digitalizacion',
|
|
'abreviacion' => 'Copy Paste',
|
|
],
|
|
[
|
|
'id' => 30,
|
|
'tipo' => 18,
|
|
'rut' => 13276118,
|
|
'descripcion' => 'Eduardo Enrique Hernandez Bravo',
|
|
'representante' => 'Eduardo Enrique Hernandez Bravo',
|
|
'telefono' => 29481611,
|
|
'correo' => '',
|
|
'direccion' => 217,
|
|
'giro' => 'Proyecto Sanitario',
|
|
'abreviacion' => 'Eduardo Hernandez',
|
|
],
|
|
[
|
|
'id' => 31,
|
|
'tipo' => 9,
|
|
'rut' => 78372940,
|
|
'descripcion' => 'Ureta Matte Impresores Limitada',
|
|
'representante' => ' ',
|
|
'telefono' => 2,
|
|
'correo' => 'contacto@uretamatteimpresores.cl',
|
|
'direccion' => 211,
|
|
'giro' => 'Imprenta y Encudernacion',
|
|
'abreviacion' => 'Ureta Matte',
|
|
],
|
|
[
|
|
'id' => 32,
|
|
'tipo' => 4,
|
|
'rut' => 78766380,
|
|
'descripcion' => 'Servicios Arquigestion Limitada',
|
|
'representante' => ' ',
|
|
'telefono' => 222465575,
|
|
'correo' => 'jhernandez@arquigestion.cl',
|
|
'direccion' => 230,
|
|
'giro' => 'Asesorias Tecnicas Inmobiliarias',
|
|
'abreviacion' => 'Arquigestion',
|
|
],
|
|
[
|
|
'id' => 33,
|
|
'tipo' => 9,
|
|
'rut' => 76127048,
|
|
'descripcion' => 'Inciti SPA',
|
|
'representante' => ' ',
|
|
'telefono' => 224029754,
|
|
'correo' => 'mbauza@inciti.com',
|
|
'direccion' => 233,
|
|
'giro' => 'Investigacion Mercado, Asesoria y Desarrollo Programas Computacionales',
|
|
'abreviacion' => 'Inciti',
|
|
],
|
|
[
|
|
'id' => 34,
|
|
'tipo' => 19,
|
|
'rut' => null,
|
|
'descripcion' => 'Viviana Avila',
|
|
'representante' => 'Viviana Avila',
|
|
'telefono' => null,
|
|
'correo' => null,
|
|
'direccion' => null,
|
|
'giro' => null,
|
|
'abreviacion' => 'Viviana Avila',
|
|
],
|
|
[
|
|
'id' => 35,
|
|
'tipo' => 19,
|
|
'rut' => null,
|
|
'descripcion' => 'Luz Maria Garcia',
|
|
'representante' => 'Luz Maria Garcia',
|
|
'telefono' => null,
|
|
'correo' => null,
|
|
'direccion' => null,
|
|
'giro' => null,
|
|
'abreviacion' => 'Luz Maria',
|
|
],
|
|
[
|
|
'id' => 36,
|
|
'tipo' => 19,
|
|
'rut' => null,
|
|
'descripcion' => 'Daniel Fernandez',
|
|
'representante' => 'Daniel Fernandez',
|
|
'telefono' => null,
|
|
'correo' => null,
|
|
'direccion' => null,
|
|
'giro' => null,
|
|
'abreviacion' => 'Daniel Fernandez',
|
|
],
|
|
[
|
|
'id' => 37,
|
|
'tipo' => 19,
|
|
'rut' => null,
|
|
'descripcion' => 'Cristian Vial',
|
|
'representante' => 'Cristian Vial Rodriguez',
|
|
'telefono' => null,
|
|
'correo' => null,
|
|
'direccion' => null,
|
|
'giro' => null,
|
|
'abreviacion' => 'Cristian Vial',
|
|
],
|
|
[
|
|
'id' => 38,
|
|
'tipo' => 9,
|
|
'rut' => 76330861,
|
|
'descripcion' => 'Lemonmedia SpA',
|
|
'representante' => ' ',
|
|
'telefono' => 226170635,
|
|
'correo' => '',
|
|
'direccion' => 240,
|
|
'giro' => 'Comercializacion de Medios Digitales',
|
|
'abreviacion' => 'Lemonmedia',
|
|
],
|
|
[
|
|
'id' => 39,
|
|
'tipo' => 17,
|
|
'rut' => 76381314,
|
|
'descripcion' => 'Panorama Acristalamientos SA',
|
|
'representante' => ' ',
|
|
'telefono' => 2,
|
|
'correo' => 'luribe@lucas.cl',
|
|
'direccion' => 248,
|
|
'giro' => 'Fab. Manupulacion y Transformacion de Vidrios',
|
|
'abreviacion' => 'Panorama',
|
|
],
|
|
[
|
|
'id' => 40,
|
|
'tipo' => 20,
|
|
'rut' => 78017310,
|
|
'descripcion' => 'Asesorias e Inversiones B y V Trust Limitada',
|
|
'representante' => 'Juan Pablo Vial B.',
|
|
'telefono' => null,
|
|
'correo' => null,
|
|
'direccion' => null,
|
|
'giro' => null,
|
|
'abreviacion' => 'B y V',
|
|
],
|
|
[
|
|
'id' => 41,
|
|
'tipo' => 20,
|
|
'rut' => 76837020,
|
|
'descripcion' => 'Vialcorp Sociedad Anonima',
|
|
'representante' => 'Juan Pablo Vial R.',
|
|
'telefono' => null,
|
|
'correo' => null,
|
|
'direccion' => null,
|
|
'giro' => null,
|
|
'abreviacion' => 'Vialcorp',
|
|
],
|
|
[
|
|
'id' => 42,
|
|
'tipo' => 20,
|
|
'rut' => null,
|
|
'descripcion' => 'Inmobiliaria y Constructora Casablanca Limitada',
|
|
'representante' => 'Jose Vidal',
|
|
'telefono' => null,
|
|
'correo' => null,
|
|
'direccion' => null,
|
|
'giro' => '',
|
|
'abreviacion' => 'Inmobiliaria Casabla',
|
|
],
|
|
[
|
|
'id' => 43,
|
|
'tipo' => 19,
|
|
'rut' => null,
|
|
'descripcion' => 'Francisco Vial Propiedades',
|
|
'representante' => 'Panti',
|
|
'telefono' => null,
|
|
'correo' => null,
|
|
'direccion' => null,
|
|
'giro' => null,
|
|
'abreviacion' => 'Panti',
|
|
],
|
|
[
|
|
'id' => 44,
|
|
'tipo' => 19,
|
|
'rut' => 76908415,
|
|
'descripcion' => 'Advance Investment',
|
|
'representante' => 'Ricardo Vial Cox',
|
|
'telefono' => 222455050,
|
|
'correo' => 'todoconteirl@gmail.com',
|
|
'direccion' => null,
|
|
'giro' => 'Asesoria Intregral en Gestion Inmobiliaria',
|
|
'abreviacion' => 'Advance',
|
|
],
|
|
[
|
|
'id' => 45,
|
|
'tipo' => 19,
|
|
'rut' => 77146417,
|
|
'descripcion' => 'Capital Investments',
|
|
'representante' => 'Joaquin Vial y Jose Miguel Jadue',
|
|
'telefono' => 94489359,
|
|
'correo' => 'joaquin.vial@capitalinvestments.cl',
|
|
'direccion' => null,
|
|
'giro' => null,
|
|
'abreviacion' => 'Cap Inv',
|
|
],
|
|
[
|
|
'id' => 46,
|
|
'tipo' => 19,
|
|
'rut' => 76706098,
|
|
'descripcion' => 'Kill Mind Spa',
|
|
'representante' => 'Hector Gonzalez',
|
|
'telefono' => 2147483647,
|
|
'correo' => 'hector@kmind.cl',
|
|
'direccion' => null,
|
|
'giro' => null,
|
|
'abreviacion' => 'Kill Mind',
|
|
],
|
|
[
|
|
'id' => 47,
|
|
'tipo' => null,
|
|
'rut' => 0,
|
|
'descripcion' => '',
|
|
'representante' => '',
|
|
'telefono' => 0,
|
|
'correo' => '',
|
|
'direccion' => null,
|
|
'giro' => '',
|
|
'abreviacion' => '',
|
|
],
|
|
];
|
|
|
|
$this->execute('SET unique_checks=0; SET foreign_key_checks=0;');
|
|
$this->table('agente')
|
|
->insert($data)
|
|
->saveData();
|
|
$this->execute('SET unique_checks=1; SET foreign_key_checks=1;');
|
|
}
|
|
}
|