normalizacion modelos

parent 796ae3ea
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--Autogenerated by PropelSchemaReverseTask class.--> <!--Autogenerated by PropelSchemaReverseTask class.-->
<database name="default" defaultIdMethod="native" namespace="AppBundle\Model"> <database name="default" defaultIdMethod="native">
<table name="agente_webcall" phpName="AgenteWebcall" idMethod="native"> <table name="agente_webcall" phpName="AgenteWebcall" idMethod="native">
<column name="awe_id" phpName="AweId" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/> <column name="awe_id" phpName="AweId" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="awe_nombres" phpName="AweNombres" type="VARCHAR" size="200" required="false"/> <column name="awe_nombres" phpName="AweNombres" type="VARCHAR" size="200" required="false"/>
...@@ -78,17 +78,6 @@ ...@@ -78,17 +78,6 @@
<parameter name="Engine" value="InnoDB"/> <parameter name="Engine" value="InnoDB"/>
</vendor> </vendor>
</table> </table>
<table name="campaign" phpName="Campaign" idMethod="native">
<column name="ca_id" phpName="CaId" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="ca_mensaje" phpName="CaMensaje" type="LONGVARCHAR" required="true"/>
<column name="ca_estado" phpName="CaEstado" type="BOOLEAN" size="1" required="true" defaultValue="false"/>
<column name="ca_eliminado" phpName="CaEliminado" type="BOOLEAN" size="1" required="true" defaultValue="false"/>
<column name="created_at" phpName="CreatedAt" type="TIMESTAMP" required="false"/>
<column name="updated_at" phpName="UpdatedAt" type="TIMESTAMP" required="false"/>
<vendor type="mysql">
<parameter name="Engine" value="InnoDB"/>
</vendor>
</table>
<table name="emailing" phpName="Emailing" idMethod="native"> <table name="emailing" phpName="Emailing" idMethod="native">
<column name="ema_id" phpName="EmaId" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/> <column name="ema_id" phpName="EmaId" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="ema_total" phpName="EmaTotal" type="INTEGER" required="false"/> <column name="ema_total" phpName="EmaTotal" type="INTEGER" required="false"/>
...@@ -187,6 +176,23 @@ ...@@ -187,6 +176,23 @@
<parameter name="Engine" value="InnoDB"/> <parameter name="Engine" value="InnoDB"/>
</vendor> </vendor>
</table> </table>
<table name="mcafee_ultimo_proceso_creacion" phpName="McafeeUltimoProcesoCreacion" idMethod="native">
<column name="muc_id" phpName="MucId" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="ultimo_umn_id" phpName="UltimoUmnId" type="INTEGER" required="false"/>
<column name="muc_cantidad_procesados" phpName="MucCantidadProcesados" type="INTEGER" required="false"/>
<column name="muc_cantidad_pendientes" phpName="MucCantidadPendientes" type="INTEGER" required="false"/>
<column name="created_at" phpName="CreatedAt" type="TIMESTAMP" required="false"/>
<column name="updated_at" phpName="UpdatedAt" type="TIMESTAMP" required="false"/>
<foreign-key foreignTable="usuarios_mcafee_movistar_nuevos" name="fk_idx_usuario_movistar_nuevo" onDelete="RESTRICT" onUpdate="RESTRICT">
<reference local="ultimo_umn_id" foreign="id"/>
</foreign-key>
<index name="fk_idx_usuario_movistar_nuevo_idx">
<index-column name="ultimo_umn_id"/>
</index>
<vendor type="mysql">
<parameter name="Engine" value="InnoDB"/>
</vendor>
</table>
<table name="mcafee_ultimo_proceso_migracion" phpName="McafeeUltimoProcesoMigracion" idMethod="native"> <table name="mcafee_ultimo_proceso_migracion" phpName="McafeeUltimoProcesoMigracion" idMethod="native">
<column name="mup_id" phpName="MupId" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/> <column name="mup_id" phpName="MupId" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="ultimo_umc_id" phpName="UltimoUmcId" type="INTEGER" required="true"/> <column name="ultimo_umc_id" phpName="UltimoUmcId" type="INTEGER" required="true"/>
...@@ -204,6 +210,23 @@ ...@@ -204,6 +210,23 @@
<parameter name="Engine" value="InnoDB"/> <parameter name="Engine" value="InnoDB"/>
</vendor> </vendor>
</table> </table>
<table name="mcafee_ultimo_proceso_normalizacion" phpName="McafeeUltimoProcesoNormalizacion" idMethod="native">
<column name="mun_id" phpName="MunId" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="ultimo_umc_id" phpName="UltimoUmcId" type="INTEGER" required="false"/>
<column name="mun_cantidad_procesados" phpName="MunCantidadProcesados" type="INTEGER" required="false"/>
<column name="mun_cantidad_pendientes" phpName="MunCantidadPendientes" type="INTEGER" required="false"/>
<column name="created_at" phpName="CreatedAt" type="TIMESTAMP" required="false"/>
<column name="updated_at" phpName="UpdatedAt" type="TIMESTAMP" required="false"/>
<foreign-key foreignTable="usuario_mcafee" name="fk_ultimo_umc_id_normla" onDelete="RESTRICT" onUpdate="RESTRICT">
<reference local="ultimo_umc_id" foreign="umc_id"/>
</foreign-key>
<index name="fk_ultimo_umc_id_normla_idx">
<index-column name="ultimo_umc_id"/>
</index>
<vendor type="mysql">
<parameter name="Engine" value="InnoDB"/>
</vendor>
</table>
<table name="notificacion_email" phpName="NotificacionEmail" idMethod="native"> <table name="notificacion_email" phpName="NotificacionEmail" idMethod="native">
<column name="nem_id" phpName="NemId" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/> <column name="nem_id" phpName="NemId" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="eem_id" phpName="EemId" type="INTEGER" required="false"/> <column name="eem_id" phpName="EemId" type="INTEGER" required="false"/>
...@@ -331,6 +354,7 @@ ...@@ -331,6 +354,7 @@
<column name="umc_permite_email" phpName="UmcPermiteEmail" type="BOOLEAN" size="1" required="false" defaultValue="true"/> <column name="umc_permite_email" phpName="UmcPermiteEmail" type="BOOLEAN" size="1" required="false" defaultValue="true"/>
<column name="umc_fecha_desuscripcion_email" phpName="UmcFechaDesuscripcionEmail" type="TIMESTAMP" required="false"/> <column name="umc_fecha_desuscripcion_email" phpName="UmcFechaDesuscripcionEmail" type="TIMESTAMP" required="false"/>
<column name="umc_movil" phpName="UmcMovil" type="VARCHAR" size="200" required="false"/> <column name="umc_movil" phpName="UmcMovil" type="VARCHAR" size="200" required="false"/>
<column name="umc_fijo" phpName="UmcFijo" type="VARCHAR" size="200" required="false"/>
<column name="umc_customer_id" phpName="UmcCustomerId" type="VARCHAR" size="250" required="false"/> <column name="umc_customer_id" phpName="UmcCustomerId" type="VARCHAR" size="250" required="false"/>
<column name="umc_eliminado" phpName="UmcEliminado" type="BOOLEAN" size="1" required="false"/> <column name="umc_eliminado" phpName="UmcEliminado" type="BOOLEAN" size="1" required="false"/>
<column name="umc_permite_sms" phpName="UmcPermiteSms" type="BOOLEAN" size="1" required="true" defaultValue="true"/> <column name="umc_permite_sms" phpName="UmcPermiteSms" type="BOOLEAN" size="1" required="true" defaultValue="true"/>
...@@ -339,6 +363,12 @@ ...@@ -339,6 +363,12 @@
<index name="indice_umc_movistar_any"> <index name="indice_umc_movistar_any">
<index-column name="umc_movistar_any"/> <index-column name="umc_movistar_any"/>
</index> </index>
<index name="indice_fecha_creacion">
<index-column name="created_at"/>
</index>
<index name="indice_mcafee_mail">
<index-column name="umc_mcafee_email"/>
</index>
<vendor type="mysql"> <vendor type="mysql">
<parameter name="Engine" value="InnoDB"/> <parameter name="Engine" value="InnoDB"/>
</vendor> </vendor>
...@@ -380,6 +410,35 @@ ...@@ -380,6 +410,35 @@
<index name="ccid"> <index name="ccid">
<index-column name="Ccid"/> <index-column name="Ccid"/>
</index> </index>
<index name="correo">
<index-column name="Email_Address"/>
</index>
<index name="activty">
<index-column name="License_Activity"/>
</index>
<index name="tipo">
<index-column name="Device_Type"/>
</index>
<vendor type="mysql">
<parameter name="Engine" value="InnoDB"/>
</vendor>
</table>
<table name="usuarios_mcafee_movistar_nuevos" phpName="UsuariosMcafeeMovistarNuevos" idMethod="native">
<column name="id" phpName="Id" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="id_mov" phpName="IdMov" type="INTEGER" required="true" defaultValue="0"/>
<column name="area_tel" phpName="AreaTel" type="INTEGER" required="false"/>
<column name="rut" phpName="Rut" type="INTEGER" required="false"/>
<column name="nombres" phpName="Nombres" type="VARCHAR" size="45" required="false"/>
<column name="correo" phpName="Correo" type="VARCHAR" size="64" required="false"/>
<column name="fono_contacto_fijo_1" phpName="FonoContactoFijo1" type="INTEGER" required="false"/>
<column name="fono_contacto_fijo_2" phpName="FonoContactoFijo2" type="INTEGER" required="false"/>
<column name="fono_contacto_movil_1" phpName="FonoContactoMovil1" type="INTEGER" required="false"/>
<column name="fono_contacto_movil_2" phpName="FonoContactoMovil2" type="INTEGER" required="false"/>
<column name="ps_6094" phpName="Ps6094" type="INTEGER" required="false"/>
<column name="ps_5679" phpName="Ps5679" type="INTEGER" required="false"/>
<column name="ps_2989" phpName="Ps2989" type="INTEGER" required="false"/>
<column name="ps_6753" phpName="Ps6753" type="INTEGER" required="false"/>
<column name="ps_6759" phpName="Ps6759" type="INTEGER" required="false"/>
<vendor type="mysql"> <vendor type="mysql">
<parameter name="Engine" value="InnoDB"/> <parameter name="Engine" value="InnoDB"/>
</vendor> </vendor>
......
...@@ -62,4 +62,21 @@ class AgenteWebcallTableMap extends TableMap ...@@ -62,4 +62,21 @@ class AgenteWebcallTableMap extends TableMap
{ {
} // buildRelations() } // buildRelations()
/**
*
* Gets the list of behaviors registered for this table
*
* @return array Associative array (name => parameters) of behaviors
*/
public function getBehaviors()
{
return array(
'timestampable' => array (
'create_column' => 'created_at',
'update_column' => 'updated_at',
'disable_updated_at' => 'false',
),
);
} // getBehaviors()
} // AgenteWebcallTableMap } // AgenteWebcallTableMap
...@@ -61,4 +61,21 @@ class BackendUsuarioTableMap extends TableMap ...@@ -61,4 +61,21 @@ class BackendUsuarioTableMap extends TableMap
$this->addRelation('BackendusuarioBackendrol', 'AppBundle\\Model\\BackendusuarioBackendrol', RelationMap::ONE_TO_MANY, array('bus_id' => 'bus_id', ), null, null, 'BackendusuarioBackendrols'); $this->addRelation('BackendusuarioBackendrol', 'AppBundle\\Model\\BackendusuarioBackendrol', RelationMap::ONE_TO_MANY, array('bus_id' => 'bus_id', ), null, null, 'BackendusuarioBackendrols');
} // buildRelations() } // buildRelations()
/**
*
* Gets the list of behaviors registered for this table
*
* @return array Associative array (name => parameters) of behaviors
*/
public function getBehaviors()
{
return array(
'timestampable' => array (
'create_column' => 'created_at',
'update_column' => 'updated_at',
'disable_updated_at' => 'false',
),
);
} // getBehaviors()
} // BackendUsuarioTableMap } // BackendUsuarioTableMap
...@@ -58,4 +58,21 @@ class BackendusuarioBackendrolTableMap extends TableMap ...@@ -58,4 +58,21 @@ class BackendusuarioBackendrolTableMap extends TableMap
$this->addRelation('BackendUsuario', 'AppBundle\\Model\\BackendUsuario', RelationMap::MANY_TO_ONE, array('bus_id' => 'bus_id', ), null, null); $this->addRelation('BackendUsuario', 'AppBundle\\Model\\BackendUsuario', RelationMap::MANY_TO_ONE, array('bus_id' => 'bus_id', ), null, null);
} // buildRelations() } // buildRelations()
/**
*
* Gets the list of behaviors registered for this table
*
* @return array Associative array (name => parameters) of behaviors
*/
public function getBehaviors()
{
return array(
'timestampable' => array (
'create_column' => 'created_at',
'update_column' => 'updated_at',
'disable_updated_at' => 'false',
),
);
} // getBehaviors()
} // BackendusuarioBackendrolTableMap } // BackendusuarioBackendrolTableMap
...@@ -71,4 +71,21 @@ class BatchsmsTableMap extends TableMap ...@@ -71,4 +71,21 @@ class BatchsmsTableMap extends TableMap
$this->addRelation('Sms', 'AppBundle\\Model\\Sms', RelationMap::ONE_TO_MANY, array('batchsms_id' => 'batchsms_id', ), null, null, 'Smss'); $this->addRelation('Sms', 'AppBundle\\Model\\Sms', RelationMap::ONE_TO_MANY, array('batchsms_id' => 'batchsms_id', ), null, null, 'Smss');
} // buildRelations() } // buildRelations()
/**
*
* Gets the list of behaviors registered for this table
*
* @return array Associative array (name => parameters) of behaviors
*/
public function getBehaviors()
{
return array(
'timestampable' => array (
'create_column' => 'created_at',
'update_column' => 'updated_at',
'disable_updated_at' => 'false',
),
);
} // getBehaviors()
} // BatchsmsTableMap } // BatchsmsTableMap
...@@ -71,4 +71,21 @@ class EmailingTableMap extends TableMap ...@@ -71,4 +71,21 @@ class EmailingTableMap extends TableMap
$this->addRelation('EnvioEmail', 'AppBundle\\Model\\EnvioEmail', RelationMap::ONE_TO_MANY, array('ema_id' => 'ema_id', ), null, null, 'EnvioEmails'); $this->addRelation('EnvioEmail', 'AppBundle\\Model\\EnvioEmail', RelationMap::ONE_TO_MANY, array('ema_id' => 'ema_id', ), null, null, 'EnvioEmails');
} // buildRelations() } // buildRelations()
/**
*
* Gets the list of behaviors registered for this table
*
* @return array Associative array (name => parameters) of behaviors
*/
public function getBehaviors()
{
return array(
'timestampable' => array (
'create_column' => 'created_at',
'update_column' => 'updated_at',
'disable_updated_at' => 'false',
),
);
} // getBehaviors()
} // EmailingTableMap } // EmailingTableMap
...@@ -72,4 +72,21 @@ class EnvioEmailTableMap extends TableMap ...@@ -72,4 +72,21 @@ class EnvioEmailTableMap extends TableMap
$this->addRelation('Tracking', 'AppBundle\\Model\\Tracking', RelationMap::ONE_TO_MANY, array('eem_id' => 'eem_id', ), null, null, 'Trackings'); $this->addRelation('Tracking', 'AppBundle\\Model\\Tracking', RelationMap::ONE_TO_MANY, array('eem_id' => 'eem_id', ), null, null, 'Trackings');
} // buildRelations() } // buildRelations()
/**
*
* Gets the list of behaviors registered for this table
*
* @return array Associative array (name => parameters) of behaviors
*/
public function getBehaviors()
{
return array(
'timestampable' => array (
'create_column' => 'created_at',
'update_column' => 'updated_at',
'disable_updated_at' => 'false',
),
);
} // getBehaviors()
} // EnvioEmailTableMap } // EnvioEmailTableMap
...@@ -60,4 +60,21 @@ class McafeeTransaccionPendienteTableMap extends TableMap ...@@ -60,4 +60,21 @@ class McafeeTransaccionPendienteTableMap extends TableMap
$this->addRelation('UsuarioMcafee', 'AppBundle\\Model\\UsuarioMcafee', RelationMap::MANY_TO_ONE, array('umc_id' => 'umc_id', ), null, null); $this->addRelation('UsuarioMcafee', 'AppBundle\\Model\\UsuarioMcafee', RelationMap::MANY_TO_ONE, array('umc_id' => 'umc_id', ), null, null);
} // buildRelations() } // buildRelations()
/**
*
* Gets the list of behaviors registered for this table
*
* @return array Associative array (name => parameters) of behaviors
*/
public function getBehaviors()
{
return array(
'timestampable' => array (
'create_column' => 'created_at',
'update_column' => 'updated_at',
'disable_updated_at' => 'false',
),
);
} // getBehaviors()
} // McafeeTransaccionPendienteTableMap } // McafeeTransaccionPendienteTableMap
...@@ -66,4 +66,21 @@ class McafeeTransaccionTableMap extends TableMap ...@@ -66,4 +66,21 @@ class McafeeTransaccionTableMap extends TableMap
$this->addRelation('UsuarioMcafee', 'AppBundle\\Model\\UsuarioMcafee', RelationMap::MANY_TO_ONE, array('umc_id' => 'umc_id', ), null, null); $this->addRelation('UsuarioMcafee', 'AppBundle\\Model\\UsuarioMcafee', RelationMap::MANY_TO_ONE, array('umc_id' => 'umc_id', ), null, null);
} // buildRelations() } // buildRelations()
/**
*
* Gets the list of behaviors registered for this table
*
* @return array Associative array (name => parameters) of behaviors
*/
public function getBehaviors()
{
return array(
'timestampable' => array (
'create_column' => 'created_at',
'update_column' => 'updated_at',
'disable_updated_at' => 'false',
),
);
} // getBehaviors()
} // McafeeTransaccionTableMap } // McafeeTransaccionTableMap
...@@ -59,4 +59,21 @@ class McafeeUltimoProcesoMigracionTableMap extends TableMap ...@@ -59,4 +59,21 @@ class McafeeUltimoProcesoMigracionTableMap extends TableMap
$this->addRelation('UsuariosMcafeeMovistarMigrar', 'AppBundle\\Model\\UsuariosMcafeeMovistarMigrar', RelationMap::MANY_TO_ONE, array('ultimo_umc_id' => 'id', ), null, null); $this->addRelation('UsuariosMcafeeMovistarMigrar', 'AppBundle\\Model\\UsuariosMcafeeMovistarMigrar', RelationMap::MANY_TO_ONE, array('ultimo_umc_id' => 'id', ), null, null);
} // buildRelations() } // buildRelations()
/**
*
* Gets the list of behaviors registered for this table
*
* @return array Associative array (name => parameters) of behaviors
*/
public function getBehaviors()
{
return array(
'timestampable' => array (
'create_column' => 'created_at',
'update_column' => 'updated_at',
'disable_updated_at' => 'false',
),
);
} // getBehaviors()
} // McafeeUltimoProcesoMigracionTableMap } // McafeeUltimoProcesoMigracionTableMap
...@@ -76,4 +76,21 @@ class NotificacionEmailTableMap extends TableMap ...@@ -76,4 +76,21 @@ class NotificacionEmailTableMap extends TableMap
$this->addRelation('EnvioEmail', 'AppBundle\\Model\\EnvioEmail', RelationMap::MANY_TO_ONE, array('eem_id' => 'eem_id', ), null, null); $this->addRelation('EnvioEmail', 'AppBundle\\Model\\EnvioEmail', RelationMap::MANY_TO_ONE, array('eem_id' => 'eem_id', ), null, null);
} // buildRelations() } // buildRelations()
/**
*
* Gets the list of behaviors registered for this table
*
* @return array Associative array (name => parameters) of behaviors
*/
public function getBehaviors()
{
return array(
'timestampable' => array (
'create_column' => 'created_at',
'update_column' => 'updated_at',
'disable_updated_at' => 'false',
),
);
} // getBehaviors()
} // NotificacionEmailTableMap } // NotificacionEmailTableMap
...@@ -69,4 +69,21 @@ class SmsTableMap extends TableMap ...@@ -69,4 +69,21 @@ class SmsTableMap extends TableMap
$this->addRelation('UsuarioMcafee', 'AppBundle\\Model\\UsuarioMcafee', RelationMap::MANY_TO_ONE, array('umc_id' => 'umc_id', ), null, null); $this->addRelation('UsuarioMcafee', 'AppBundle\\Model\\UsuarioMcafee', RelationMap::MANY_TO_ONE, array('umc_id' => 'umc_id', ), null, null);
} // buildRelations() } // buildRelations()
/**
*
* Gets the list of behaviors registered for this table
*
* @return array Associative array (name => parameters) of behaviors
*/
public function getBehaviors()
{
return array(
'timestampable' => array (
'create_column' => 'created_at',
'update_column' => 'updated_at',
'disable_updated_at' => 'false',
),
);
} // getBehaviors()
} // SmsTableMap } // SmsTableMap
...@@ -69,4 +69,21 @@ class TrackingTableMap extends TableMap ...@@ -69,4 +69,21 @@ class TrackingTableMap extends TableMap
$this->addRelation('UsuarioMcafee', 'AppBundle\\Model\\UsuarioMcafee', RelationMap::MANY_TO_ONE, array('umc_id' => 'umc_id', ), null, null); $this->addRelation('UsuarioMcafee', 'AppBundle\\Model\\UsuarioMcafee', RelationMap::MANY_TO_ONE, array('umc_id' => 'umc_id', ), null, null);
} // buildRelations() } // buildRelations()
/**
*
* Gets the list of behaviors registered for this table
*
* @return array Associative array (name => parameters) of behaviors
*/
public function getBehaviors()
{
return array(
'timestampable' => array (
'create_column' => 'created_at',
'update_column' => 'updated_at',
'disable_updated_at' => 'false',
),
);
} // getBehaviors()
} // TrackingTableMap } // TrackingTableMap
...@@ -58,6 +58,7 @@ class UsuarioMcafeeTableMap extends TableMap ...@@ -58,6 +58,7 @@ class UsuarioMcafeeTableMap extends TableMap
$this->addColumn('umc_permite_email', 'UmcPermiteEmail', 'BOOLEAN', false, 1, true); $this->addColumn('umc_permite_email', 'UmcPermiteEmail', 'BOOLEAN', false, 1, true);
$this->addColumn('umc_fecha_desuscripcion_email', 'UmcFechaDesuscripcionEmail', 'TIMESTAMP', false, null, null); $this->addColumn('umc_fecha_desuscripcion_email', 'UmcFechaDesuscripcionEmail', 'TIMESTAMP', false, null, null);
$this->addColumn('umc_movil', 'UmcMovil', 'VARCHAR', false, 200, null); $this->addColumn('umc_movil', 'UmcMovil', 'VARCHAR', false, 200, null);
$this->addColumn('umc_fijo', 'UmcFijo', 'VARCHAR', false, 200, null);
$this->addColumn('umc_customer_id', 'UmcCustomerId', 'VARCHAR', false, 250, null); $this->addColumn('umc_customer_id', 'UmcCustomerId', 'VARCHAR', false, 250, null);
$this->addColumn('umc_eliminado', 'UmcEliminado', 'BOOLEAN', false, 1, null); $this->addColumn('umc_eliminado', 'UmcEliminado', 'BOOLEAN', false, 1, null);
$this->addColumn('umc_permite_sms', 'UmcPermiteSms', 'BOOLEAN', true, 1, true); $this->addColumn('umc_permite_sms', 'UmcPermiteSms', 'BOOLEAN', true, 1, true);
...@@ -74,8 +75,26 @@ class UsuarioMcafeeTableMap extends TableMap ...@@ -74,8 +75,26 @@ class UsuarioMcafeeTableMap extends TableMap
$this->addRelation('EnvioEmail', 'AppBundle\\Model\\EnvioEmail', RelationMap::ONE_TO_MANY, array('umc_id' => 'umc_id', ), null, null, 'EnvioEmails'); $this->addRelation('EnvioEmail', 'AppBundle\\Model\\EnvioEmail', RelationMap::ONE_TO_MANY, array('umc_id' => 'umc_id', ), null, null, 'EnvioEmails');
$this->addRelation('McafeeTransaccion', 'AppBundle\\Model\\McafeeTransaccion', RelationMap::ONE_TO_MANY, array('umc_id' => 'umc_id', ), null, null, 'McafeeTransaccions'); $this->addRelation('McafeeTransaccion', 'AppBundle\\Model\\McafeeTransaccion', RelationMap::ONE_TO_MANY, array('umc_id' => 'umc_id', ), null, null, 'McafeeTransaccions');
$this->addRelation('McafeeTransaccionPendiente', 'AppBundle\\Model\\McafeeTransaccionPendiente', RelationMap::ONE_TO_MANY, array('umc_id' => 'umc_id', ), null, null, 'McafeeTransaccionPendientes'); $this->addRelation('McafeeTransaccionPendiente', 'AppBundle\\Model\\McafeeTransaccionPendiente', RelationMap::ONE_TO_MANY, array('umc_id' => 'umc_id', ), null, null, 'McafeeTransaccionPendientes');
$this->addRelation('McafeeUltimoProcesoNormalizacion', 'AppBundle\\Model\\McafeeUltimoProcesoNormalizacion', RelationMap::ONE_TO_MANY, array('umc_id' => 'ultimo_umc_id', ), null, null, 'McafeeUltimoProcesoNormalizacions');
$this->addRelation('Sms', 'AppBundle\\Model\\Sms', RelationMap::ONE_TO_MANY, array('umc_id' => 'umc_id', ), null, null, 'Smss'); $this->addRelation('Sms', 'AppBundle\\Model\\Sms', RelationMap::ONE_TO_MANY, array('umc_id' => 'umc_id', ), null, null, 'Smss');
$this->addRelation('Tracking', 'AppBundle\\Model\\Tracking', RelationMap::ONE_TO_MANY, array('umc_id' => 'umc_id', ), null, null, 'Trackings'); $this->addRelation('Tracking', 'AppBundle\\Model\\Tracking', RelationMap::ONE_TO_MANY, array('umc_id' => 'umc_id', ), null, null, 'Trackings');
} // buildRelations() } // buildRelations()
/**
*
* Gets the list of behaviors registered for this table
*
* @return array Associative array (name => parameters) of behaviors
*/
public function getBehaviors()
{
return array(
'timestampable' => array (
'create_column' => 'created_at',
'update_column' => 'updated_at',
'disable_updated_at' => 'false',
),
);
} // getBehaviors()
} // UsuarioMcafeeTableMap } // UsuarioMcafeeTableMap
...@@ -685,8 +685,19 @@ abstract class BaseAgenteWebcall extends BaseObject implements Persistent ...@@ -685,8 +685,19 @@ abstract class BaseAgenteWebcall extends BaseObject implements Persistent
$ret = $this->preSave($con); $ret = $this->preSave($con);
if ($isInsert) { if ($isInsert) {
$ret = $ret && $this->preInsert($con); $ret = $ret && $this->preInsert($con);
// timestampable behavior
if (!$this->isColumnModified(AgenteWebcallPeer::CREATED_AT)) {
$this->setCreatedAt(time());
}
if (!$this->isColumnModified(AgenteWebcallPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} else { } else {
$ret = $ret && $this->preUpdate($con); $ret = $ret && $this->preUpdate($con);
// timestampable behavior
if ($this->isModified() && !$this->isColumnModified(AgenteWebcallPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} }
if ($ret) { if ($ret) {
$affectedRows = $this->doSave($con); $affectedRows = $this->doSave($con);
...@@ -1341,4 +1352,18 @@ abstract class BaseAgenteWebcall extends BaseObject implements Persistent ...@@ -1341,4 +1352,18 @@ abstract class BaseAgenteWebcall extends BaseObject implements Persistent
return $this->alreadyInSave; return $this->alreadyInSave;
} }
// timestampable behavior
/**
* Mark the current object so that the update date doesn't get updated during next save
*
* @return AgenteWebcall The current object (for fluent API support)
*/
public function keepUpdateDateUnchanged()
{
$this->modifiedColumns[] = AgenteWebcallPeer::UPDATED_AT;
return $this;
}
} }
...@@ -631,4 +631,69 @@ abstract class BaseAgenteWebcallQuery extends ModelCriteria ...@@ -631,4 +631,69 @@ abstract class BaseAgenteWebcallQuery extends ModelCriteria
return $this; return $this;
} }
// timestampable behavior
/**
* Filter by the latest updated
*
* @param int $nbDays Maximum age of the latest update in days
*
* @return AgenteWebcallQuery The current query, for fluid interface
*/
public function recentlyUpdated($nbDays = 7)
{
return $this->addUsingAlias(AgenteWebcallPeer::UPDATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by update date desc
*
* @return AgenteWebcallQuery The current query, for fluid interface
*/
public function lastUpdatedFirst()
{
return $this->addDescendingOrderByColumn(AgenteWebcallPeer::UPDATED_AT);
}
/**
* Order by update date asc
*
* @return AgenteWebcallQuery The current query, for fluid interface
*/
public function firstUpdatedFirst()
{
return $this->addAscendingOrderByColumn(AgenteWebcallPeer::UPDATED_AT);
}
/**
* Filter by the latest created
*
* @param int $nbDays Maximum age of in days
*
* @return AgenteWebcallQuery The current query, for fluid interface
*/
public function recentlyCreated($nbDays = 7)
{
return $this->addUsingAlias(AgenteWebcallPeer::CREATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by create date desc
*
* @return AgenteWebcallQuery The current query, for fluid interface
*/
public function lastCreatedFirst()
{
return $this->addDescendingOrderByColumn(AgenteWebcallPeer::CREATED_AT);
}
/**
* Order by create date asc
*
* @return AgenteWebcallQuery The current query, for fluid interface
*/
public function firstCreatedFirst()
{
return $this->addAscendingOrderByColumn(AgenteWebcallPeer::CREATED_AT);
}
} }
...@@ -659,8 +659,19 @@ abstract class BaseBackendUsuario extends BaseObject implements Persistent ...@@ -659,8 +659,19 @@ abstract class BaseBackendUsuario extends BaseObject implements Persistent
$ret = $this->preSave($con); $ret = $this->preSave($con);
if ($isInsert) { if ($isInsert) {
$ret = $ret && $this->preInsert($con); $ret = $ret && $this->preInsert($con);
// timestampable behavior
if (!$this->isColumnModified(BackendUsuarioPeer::CREATED_AT)) {
$this->setCreatedAt(time());
}
if (!$this->isColumnModified(BackendUsuarioPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} else { } else {
$ret = $ret && $this->preUpdate($con); $ret = $ret && $this->preUpdate($con);
// timestampable behavior
if ($this->isModified() && !$this->isColumnModified(BackendUsuarioPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} }
if ($ret) { if ($ret) {
$affectedRows = $this->doSave($con); $affectedRows = $this->doSave($con);
...@@ -1609,4 +1620,18 @@ abstract class BaseBackendUsuario extends BaseObject implements Persistent ...@@ -1609,4 +1620,18 @@ abstract class BaseBackendUsuario extends BaseObject implements Persistent
return $this->alreadyInSave; return $this->alreadyInSave;
} }
// timestampable behavior
/**
* Mark the current object so that the update date doesn't get updated during next save
*
* @return BackendUsuario The current object (for fluent API support)
*/
public function keepUpdateDateUnchanged()
{
$this->modifiedColumns[] = BackendUsuarioPeer::UPDATED_AT;
return $this;
}
} }
...@@ -631,4 +631,69 @@ abstract class BaseBackendUsuarioQuery extends ModelCriteria ...@@ -631,4 +631,69 @@ abstract class BaseBackendUsuarioQuery extends ModelCriteria
return $this; return $this;
} }
// timestampable behavior
/**
* Filter by the latest updated
*
* @param int $nbDays Maximum age of the latest update in days
*
* @return BackendUsuarioQuery The current query, for fluid interface
*/
public function recentlyUpdated($nbDays = 7)
{
return $this->addUsingAlias(BackendUsuarioPeer::UPDATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by update date desc
*
* @return BackendUsuarioQuery The current query, for fluid interface
*/
public function lastUpdatedFirst()
{
return $this->addDescendingOrderByColumn(BackendUsuarioPeer::UPDATED_AT);
}
/**
* Order by update date asc
*
* @return BackendUsuarioQuery The current query, for fluid interface
*/
public function firstUpdatedFirst()
{
return $this->addAscendingOrderByColumn(BackendUsuarioPeer::UPDATED_AT);
}
/**
* Filter by the latest created
*
* @param int $nbDays Maximum age of in days
*
* @return BackendUsuarioQuery The current query, for fluid interface
*/
public function recentlyCreated($nbDays = 7)
{
return $this->addUsingAlias(BackendUsuarioPeer::CREATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by create date desc
*
* @return BackendUsuarioQuery The current query, for fluid interface
*/
public function lastCreatedFirst()
{
return $this->addDescendingOrderByColumn(BackendUsuarioPeer::CREATED_AT);
}
/**
* Order by create date asc
*
* @return BackendUsuarioQuery The current query, for fluid interface
*/
public function firstCreatedFirst()
{
return $this->addAscendingOrderByColumn(BackendUsuarioPeer::CREATED_AT);
}
} }
...@@ -481,8 +481,19 @@ abstract class BaseBackendusuarioBackendrol extends BaseObject implements Persis ...@@ -481,8 +481,19 @@ abstract class BaseBackendusuarioBackendrol extends BaseObject implements Persis
$ret = $this->preSave($con); $ret = $this->preSave($con);
if ($isInsert) { if ($isInsert) {
$ret = $ret && $this->preInsert($con); $ret = $ret && $this->preInsert($con);
// timestampable behavior
if (!$this->isColumnModified(BackendusuarioBackendrolPeer::CREATED_AT)) {
$this->setCreatedAt(time());
}
if (!$this->isColumnModified(BackendusuarioBackendrolPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} else { } else {
$ret = $ret && $this->preUpdate($con); $ret = $ret && $this->preUpdate($con);
// timestampable behavior
if ($this->isModified() && !$this->isColumnModified(BackendusuarioBackendrolPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} }
if ($ret) { if ($ret) {
$affectedRows = $this->doSave($con); $affectedRows = $this->doSave($con);
...@@ -1201,4 +1212,18 @@ abstract class BaseBackendusuarioBackendrol extends BaseObject implements Persis ...@@ -1201,4 +1212,18 @@ abstract class BaseBackendusuarioBackendrol extends BaseObject implements Persis
return $this->alreadyInSave; return $this->alreadyInSave;
} }
// timestampable behavior
/**
* Mark the current object so that the update date doesn't get updated during next save
*
* @return BackendusuarioBackendrol The current object (for fluent API support)
*/
public function keepUpdateDateUnchanged()
{
$this->modifiedColumns[] = BackendusuarioBackendrolPeer::UPDATED_AT;
return $this;
}
} }
...@@ -590,4 +590,69 @@ abstract class BaseBackendusuarioBackendrolQuery extends ModelCriteria ...@@ -590,4 +590,69 @@ abstract class BaseBackendusuarioBackendrolQuery extends ModelCriteria
return $this; return $this;
} }
// timestampable behavior
/**
* Filter by the latest updated
*
* @param int $nbDays Maximum age of the latest update in days
*
* @return BackendusuarioBackendrolQuery The current query, for fluid interface
*/
public function recentlyUpdated($nbDays = 7)
{
return $this->addUsingAlias(BackendusuarioBackendrolPeer::UPDATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by update date desc
*
* @return BackendusuarioBackendrolQuery The current query, for fluid interface
*/
public function lastUpdatedFirst()
{
return $this->addDescendingOrderByColumn(BackendusuarioBackendrolPeer::UPDATED_AT);
}
/**
* Order by update date asc
*
* @return BackendusuarioBackendrolQuery The current query, for fluid interface
*/
public function firstUpdatedFirst()
{
return $this->addAscendingOrderByColumn(BackendusuarioBackendrolPeer::UPDATED_AT);
}
/**
* Filter by the latest created
*
* @param int $nbDays Maximum age of in days
*
* @return BackendusuarioBackendrolQuery The current query, for fluid interface
*/
public function recentlyCreated($nbDays = 7)
{
return $this->addUsingAlias(BackendusuarioBackendrolPeer::CREATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by create date desc
*
* @return BackendusuarioBackendrolQuery The current query, for fluid interface
*/
public function lastCreatedFirst()
{
return $this->addDescendingOrderByColumn(BackendusuarioBackendrolPeer::CREATED_AT);
}
/**
* Order by create date asc
*
* @return BackendusuarioBackendrolQuery The current query, for fluid interface
*/
public function firstCreatedFirst()
{
return $this->addAscendingOrderByColumn(BackendusuarioBackendrolPeer::CREATED_AT);
}
} }
...@@ -1023,8 +1023,19 @@ abstract class BaseBatchsms extends BaseObject implements Persistent ...@@ -1023,8 +1023,19 @@ abstract class BaseBatchsms extends BaseObject implements Persistent
$ret = $this->preSave($con); $ret = $this->preSave($con);
if ($isInsert) { if ($isInsert) {
$ret = $ret && $this->preInsert($con); $ret = $ret && $this->preInsert($con);
// timestampable behavior
if (!$this->isColumnModified(BatchsmsPeer::CREATED_AT)) {
$this->setCreatedAt(time());
}
if (!$this->isColumnModified(BatchsmsPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} else { } else {
$ret = $ret && $this->preUpdate($con); $ret = $ret && $this->preUpdate($con);
// timestampable behavior
if ($this->isModified() && !$this->isColumnModified(BatchsmsPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} }
if ($ret) { if ($ret) {
$affectedRows = $this->doSave($con); $affectedRows = $this->doSave($con);
...@@ -2140,4 +2151,18 @@ abstract class BaseBatchsms extends BaseObject implements Persistent ...@@ -2140,4 +2151,18 @@ abstract class BaseBatchsms extends BaseObject implements Persistent
return $this->alreadyInSave; return $this->alreadyInSave;
} }
// timestampable behavior
/**
* Mark the current object so that the update date doesn't get updated during next save
*
* @return Batchsms The current object (for fluent API support)
*/
public function keepUpdateDateUnchanged()
{
$this->modifiedColumns[] = BatchsmsPeer::UPDATED_AT;
return $this;
}
} }
...@@ -1130,4 +1130,69 @@ abstract class BaseBatchsmsQuery extends ModelCriteria ...@@ -1130,4 +1130,69 @@ abstract class BaseBatchsmsQuery extends ModelCriteria
return $this; return $this;
} }
// timestampable behavior
/**
* Filter by the latest updated
*
* @param int $nbDays Maximum age of the latest update in days
*
* @return BatchsmsQuery The current query, for fluid interface
*/
public function recentlyUpdated($nbDays = 7)
{
return $this->addUsingAlias(BatchsmsPeer::UPDATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by update date desc
*
* @return BatchsmsQuery The current query, for fluid interface
*/
public function lastUpdatedFirst()
{
return $this->addDescendingOrderByColumn(BatchsmsPeer::UPDATED_AT);
}
/**
* Order by update date asc
*
* @return BatchsmsQuery The current query, for fluid interface
*/
public function firstUpdatedFirst()
{
return $this->addAscendingOrderByColumn(BatchsmsPeer::UPDATED_AT);
}
/**
* Filter by the latest created
*
* @param int $nbDays Maximum age of in days
*
* @return BatchsmsQuery The current query, for fluid interface
*/
public function recentlyCreated($nbDays = 7)
{
return $this->addUsingAlias(BatchsmsPeer::CREATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by create date desc
*
* @return BatchsmsQuery The current query, for fluid interface
*/
public function lastCreatedFirst()
{
return $this->addDescendingOrderByColumn(BatchsmsPeer::CREATED_AT);
}
/**
* Order by create date asc
*
* @return BatchsmsQuery The current query, for fluid interface
*/
public function firstCreatedFirst()
{
return $this->addAscendingOrderByColumn(BatchsmsPeer::CREATED_AT);
}
} }
...@@ -1023,8 +1023,19 @@ abstract class BaseEmailing extends BaseObject implements Persistent ...@@ -1023,8 +1023,19 @@ abstract class BaseEmailing extends BaseObject implements Persistent
$ret = $this->preSave($con); $ret = $this->preSave($con);
if ($isInsert) { if ($isInsert) {
$ret = $ret && $this->preInsert($con); $ret = $ret && $this->preInsert($con);
// timestampable behavior
if (!$this->isColumnModified(EmailingPeer::CREATED_AT)) {
$this->setCreatedAt(time());
}
if (!$this->isColumnModified(EmailingPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} else { } else {
$ret = $ret && $this->preUpdate($con); $ret = $ret && $this->preUpdate($con);
// timestampable behavior
if ($this->isModified() && !$this->isColumnModified(EmailingPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} }
if ($ret) { if ($ret) {
$affectedRows = $this->doSave($con); $affectedRows = $this->doSave($con);
...@@ -2140,4 +2151,18 @@ abstract class BaseEmailing extends BaseObject implements Persistent ...@@ -2140,4 +2151,18 @@ abstract class BaseEmailing extends BaseObject implements Persistent
return $this->alreadyInSave; return $this->alreadyInSave;
} }
// timestampable behavior
/**
* Mark the current object so that the update date doesn't get updated during next save
*
* @return Emailing The current object (for fluent API support)
*/
public function keepUpdateDateUnchanged()
{
$this->modifiedColumns[] = EmailingPeer::UPDATED_AT;
return $this;
}
} }
...@@ -1130,4 +1130,69 @@ abstract class BaseEmailingQuery extends ModelCriteria ...@@ -1130,4 +1130,69 @@ abstract class BaseEmailingQuery extends ModelCriteria
return $this; return $this;
} }
// timestampable behavior
/**
* Filter by the latest updated
*
* @param int $nbDays Maximum age of the latest update in days
*
* @return EmailingQuery The current query, for fluid interface
*/
public function recentlyUpdated($nbDays = 7)
{
return $this->addUsingAlias(EmailingPeer::UPDATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by update date desc
*
* @return EmailingQuery The current query, for fluid interface
*/
public function lastUpdatedFirst()
{
return $this->addDescendingOrderByColumn(EmailingPeer::UPDATED_AT);
}
/**
* Order by update date asc
*
* @return EmailingQuery The current query, for fluid interface
*/
public function firstUpdatedFirst()
{
return $this->addAscendingOrderByColumn(EmailingPeer::UPDATED_AT);
}
/**
* Filter by the latest created
*
* @param int $nbDays Maximum age of in days
*
* @return EmailingQuery The current query, for fluid interface
*/
public function recentlyCreated($nbDays = 7)
{
return $this->addUsingAlias(EmailingPeer::CREATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by create date desc
*
* @return EmailingQuery The current query, for fluid interface
*/
public function lastCreatedFirst()
{
return $this->addDescendingOrderByColumn(EmailingPeer::CREATED_AT);
}
/**
* Order by create date asc
*
* @return EmailingQuery The current query, for fluid interface
*/
public function firstCreatedFirst()
{
return $this->addAscendingOrderByColumn(EmailingPeer::CREATED_AT);
}
} }
...@@ -1053,8 +1053,19 @@ abstract class BaseEnvioEmail extends BaseObject implements Persistent ...@@ -1053,8 +1053,19 @@ abstract class BaseEnvioEmail extends BaseObject implements Persistent
$ret = $this->preSave($con); $ret = $this->preSave($con);
if ($isInsert) { if ($isInsert) {
$ret = $ret && $this->preInsert($con); $ret = $ret && $this->preInsert($con);
// timestampable behavior
if (!$this->isColumnModified(EnvioEmailPeer::CREATED_AT)) {
$this->setCreatedAt(time());
}
if (!$this->isColumnModified(EnvioEmailPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} else { } else {
$ret = $ret && $this->preUpdate($con); $ret = $ret && $this->preUpdate($con);
// timestampable behavior
if ($this->isModified() && !$this->isColumnModified(EnvioEmailPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} }
if ($ret) { if ($ret) {
$affectedRows = $this->doSave($con); $affectedRows = $this->doSave($con);
...@@ -2563,4 +2574,18 @@ abstract class BaseEnvioEmail extends BaseObject implements Persistent ...@@ -2563,4 +2574,18 @@ abstract class BaseEnvioEmail extends BaseObject implements Persistent
return $this->alreadyInSave; return $this->alreadyInSave;
} }
// timestampable behavior
/**
* Mark the current object so that the update date doesn't get updated during next save
*
* @return EnvioEmail The current object (for fluent API support)
*/
public function keepUpdateDateUnchanged()
{
$this->modifiedColumns[] = EnvioEmailPeer::UPDATED_AT;
return $this;
}
} }
...@@ -1207,4 +1207,69 @@ abstract class BaseEnvioEmailQuery extends ModelCriteria ...@@ -1207,4 +1207,69 @@ abstract class BaseEnvioEmailQuery extends ModelCriteria
return $this; return $this;
} }
// timestampable behavior
/**
* Filter by the latest updated
*
* @param int $nbDays Maximum age of the latest update in days
*
* @return EnvioEmailQuery The current query, for fluid interface
*/
public function recentlyUpdated($nbDays = 7)
{
return $this->addUsingAlias(EnvioEmailPeer::UPDATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by update date desc
*
* @return EnvioEmailQuery The current query, for fluid interface
*/
public function lastUpdatedFirst()
{
return $this->addDescendingOrderByColumn(EnvioEmailPeer::UPDATED_AT);
}
/**
* Order by update date asc
*
* @return EnvioEmailQuery The current query, for fluid interface
*/
public function firstUpdatedFirst()
{
return $this->addAscendingOrderByColumn(EnvioEmailPeer::UPDATED_AT);
}
/**
* Filter by the latest created
*
* @param int $nbDays Maximum age of in days
*
* @return EnvioEmailQuery The current query, for fluid interface
*/
public function recentlyCreated($nbDays = 7)
{
return $this->addUsingAlias(EnvioEmailPeer::CREATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by create date desc
*
* @return EnvioEmailQuery The current query, for fluid interface
*/
public function lastCreatedFirst()
{
return $this->addDescendingOrderByColumn(EnvioEmailPeer::CREATED_AT);
}
/**
* Order by create date asc
*
* @return EnvioEmailQuery The current query, for fluid interface
*/
public function firstCreatedFirst()
{
return $this->addAscendingOrderByColumn(EnvioEmailPeer::CREATED_AT);
}
} }
...@@ -817,8 +817,19 @@ abstract class BaseMcafeeTransaccion extends BaseObject implements Persistent ...@@ -817,8 +817,19 @@ abstract class BaseMcafeeTransaccion extends BaseObject implements Persistent
$ret = $this->preSave($con); $ret = $this->preSave($con);
if ($isInsert) { if ($isInsert) {
$ret = $ret && $this->preInsert($con); $ret = $ret && $this->preInsert($con);
// timestampable behavior
if (!$this->isColumnModified(McafeeTransaccionPeer::CREATED_AT)) {
$this->setCreatedAt(time());
}
if (!$this->isColumnModified(McafeeTransaccionPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} else { } else {
$ret = $ret && $this->preUpdate($con); $ret = $ret && $this->preUpdate($con);
// timestampable behavior
if ($this->isModified() && !$this->isColumnModified(McafeeTransaccionPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} }
if ($ret) { if ($ret) {
$affectedRows = $this->doSave($con); $affectedRows = $this->doSave($con);
...@@ -1622,4 +1633,18 @@ abstract class BaseMcafeeTransaccion extends BaseObject implements Persistent ...@@ -1622,4 +1633,18 @@ abstract class BaseMcafeeTransaccion extends BaseObject implements Persistent
return $this->alreadyInSave; return $this->alreadyInSave;
} }
// timestampable behavior
/**
* Mark the current object so that the update date doesn't get updated during next save
*
* @return McafeeTransaccion The current object (for fluent API support)
*/
public function keepUpdateDateUnchanged()
{
$this->modifiedColumns[] = McafeeTransaccionPeer::UPDATED_AT;
return $this;
}
} }
...@@ -583,8 +583,19 @@ abstract class BaseMcafeeTransaccionPendiente extends BaseObject implements Pers ...@@ -583,8 +583,19 @@ abstract class BaseMcafeeTransaccionPendiente extends BaseObject implements Pers
$ret = $this->preSave($con); $ret = $this->preSave($con);
if ($isInsert) { if ($isInsert) {
$ret = $ret && $this->preInsert($con); $ret = $ret && $this->preInsert($con);
// timestampable behavior
if (!$this->isColumnModified(McafeeTransaccionPendientePeer::CREATED_AT)) {
$this->setCreatedAt(time());
}
if (!$this->isColumnModified(McafeeTransaccionPendientePeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} else { } else {
$ret = $ret && $this->preUpdate($con); $ret = $ret && $this->preUpdate($con);
// timestampable behavior
if ($this->isModified() && !$this->isColumnModified(McafeeTransaccionPendientePeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} }
if ($ret) { if ($ret) {
$affectedRows = $this->doSave($con); $affectedRows = $this->doSave($con);
...@@ -1286,4 +1297,18 @@ abstract class BaseMcafeeTransaccionPendiente extends BaseObject implements Pers ...@@ -1286,4 +1297,18 @@ abstract class BaseMcafeeTransaccionPendiente extends BaseObject implements Pers
return $this->alreadyInSave; return $this->alreadyInSave;
} }
// timestampable behavior
/**
* Mark the current object so that the update date doesn't get updated during next save
*
* @return McafeeTransaccionPendiente The current object (for fluent API support)
*/
public function keepUpdateDateUnchanged()
{
$this->modifiedColumns[] = McafeeTransaccionPendientePeer::UPDATED_AT;
return $this;
}
} }
...@@ -643,4 +643,69 @@ abstract class BaseMcafeeTransaccionPendienteQuery extends ModelCriteria ...@@ -643,4 +643,69 @@ abstract class BaseMcafeeTransaccionPendienteQuery extends ModelCriteria
return $this; return $this;
} }
// timestampable behavior
/**
* Filter by the latest updated
*
* @param int $nbDays Maximum age of the latest update in days
*
* @return McafeeTransaccionPendienteQuery The current query, for fluid interface
*/
public function recentlyUpdated($nbDays = 7)
{
return $this->addUsingAlias(McafeeTransaccionPendientePeer::UPDATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by update date desc
*
* @return McafeeTransaccionPendienteQuery The current query, for fluid interface
*/
public function lastUpdatedFirst()
{
return $this->addDescendingOrderByColumn(McafeeTransaccionPendientePeer::UPDATED_AT);
}
/**
* Order by update date asc
*
* @return McafeeTransaccionPendienteQuery The current query, for fluid interface
*/
public function firstUpdatedFirst()
{
return $this->addAscendingOrderByColumn(McafeeTransaccionPendientePeer::UPDATED_AT);
}
/**
* Filter by the latest created
*
* @param int $nbDays Maximum age of in days
*
* @return McafeeTransaccionPendienteQuery The current query, for fluid interface
*/
public function recentlyCreated($nbDays = 7)
{
return $this->addUsingAlias(McafeeTransaccionPendientePeer::CREATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by create date desc
*
* @return McafeeTransaccionPendienteQuery The current query, for fluid interface
*/
public function lastCreatedFirst()
{
return $this->addDescendingOrderByColumn(McafeeTransaccionPendientePeer::CREATED_AT);
}
/**
* Order by create date asc
*
* @return McafeeTransaccionPendienteQuery The current query, for fluid interface
*/
public function firstCreatedFirst()
{
return $this->addAscendingOrderByColumn(McafeeTransaccionPendientePeer::CREATED_AT);
}
} }
...@@ -828,4 +828,69 @@ abstract class BaseMcafeeTransaccionQuery extends ModelCriteria ...@@ -828,4 +828,69 @@ abstract class BaseMcafeeTransaccionQuery extends ModelCriteria
return $this; return $this;
} }
// timestampable behavior
/**
* Filter by the latest updated
*
* @param int $nbDays Maximum age of the latest update in days
*
* @return McafeeTransaccionQuery The current query, for fluid interface
*/
public function recentlyUpdated($nbDays = 7)
{
return $this->addUsingAlias(McafeeTransaccionPeer::UPDATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by update date desc
*
* @return McafeeTransaccionQuery The current query, for fluid interface
*/
public function lastUpdatedFirst()
{
return $this->addDescendingOrderByColumn(McafeeTransaccionPeer::UPDATED_AT);
}
/**
* Order by update date asc
*
* @return McafeeTransaccionQuery The current query, for fluid interface
*/
public function firstUpdatedFirst()
{
return $this->addAscendingOrderByColumn(McafeeTransaccionPeer::UPDATED_AT);
}
/**
* Filter by the latest created
*
* @param int $nbDays Maximum age of in days
*
* @return McafeeTransaccionQuery The current query, for fluid interface
*/
public function recentlyCreated($nbDays = 7)
{
return $this->addUsingAlias(McafeeTransaccionPeer::CREATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by create date desc
*
* @return McafeeTransaccionQuery The current query, for fluid interface
*/
public function lastCreatedFirst()
{
return $this->addDescendingOrderByColumn(McafeeTransaccionPeer::CREATED_AT);
}
/**
* Order by create date asc
*
* @return McafeeTransaccionQuery The current query, for fluid interface
*/
public function firstCreatedFirst()
{
return $this->addAscendingOrderByColumn(McafeeTransaccionPeer::CREATED_AT);
}
} }
...@@ -544,8 +544,19 @@ abstract class BaseMcafeeUltimoProcesoMigracion extends BaseObject implements Pe ...@@ -544,8 +544,19 @@ abstract class BaseMcafeeUltimoProcesoMigracion extends BaseObject implements Pe
$ret = $this->preSave($con); $ret = $this->preSave($con);
if ($isInsert) { if ($isInsert) {
$ret = $ret && $this->preInsert($con); $ret = $ret && $this->preInsert($con);
// timestampable behavior
if (!$this->isColumnModified(McafeeUltimoProcesoMigracionPeer::CREATED_AT)) {
$this->setCreatedAt(time());
}
if (!$this->isColumnModified(McafeeUltimoProcesoMigracionPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} else { } else {
$ret = $ret && $this->preUpdate($con); $ret = $ret && $this->preUpdate($con);
// timestampable behavior
if ($this->isModified() && !$this->isColumnModified(McafeeUltimoProcesoMigracionPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} }
if ($ret) { if ($ret) {
$affectedRows = $this->doSave($con); $affectedRows = $this->doSave($con);
...@@ -1230,4 +1241,18 @@ abstract class BaseMcafeeUltimoProcesoMigracion extends BaseObject implements Pe ...@@ -1230,4 +1241,18 @@ abstract class BaseMcafeeUltimoProcesoMigracion extends BaseObject implements Pe
return $this->alreadyInSave; return $this->alreadyInSave;
} }
// timestampable behavior
/**
* Mark the current object so that the update date doesn't get updated during next save
*
* @return McafeeUltimoProcesoMigracion The current object (for fluent API support)
*/
public function keepUpdateDateUnchanged()
{
$this->modifiedColumns[] = McafeeUltimoProcesoMigracionPeer::UPDATED_AT;
return $this;
}
} }
...@@ -597,4 +597,69 @@ abstract class BaseMcafeeUltimoProcesoMigracionQuery extends ModelCriteria ...@@ -597,4 +597,69 @@ abstract class BaseMcafeeUltimoProcesoMigracionQuery extends ModelCriteria
return $this; return $this;
} }
// timestampable behavior
/**
* Filter by the latest updated
*
* @param int $nbDays Maximum age of the latest update in days
*
* @return McafeeUltimoProcesoMigracionQuery The current query, for fluid interface
*/
public function recentlyUpdated($nbDays = 7)
{
return $this->addUsingAlias(McafeeUltimoProcesoMigracionPeer::UPDATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by update date desc
*
* @return McafeeUltimoProcesoMigracionQuery The current query, for fluid interface
*/
public function lastUpdatedFirst()
{
return $this->addDescendingOrderByColumn(McafeeUltimoProcesoMigracionPeer::UPDATED_AT);
}
/**
* Order by update date asc
*
* @return McafeeUltimoProcesoMigracionQuery The current query, for fluid interface
*/
public function firstUpdatedFirst()
{
return $this->addAscendingOrderByColumn(McafeeUltimoProcesoMigracionPeer::UPDATED_AT);
}
/**
* Filter by the latest created
*
* @param int $nbDays Maximum age of in days
*
* @return McafeeUltimoProcesoMigracionQuery The current query, for fluid interface
*/
public function recentlyCreated($nbDays = 7)
{
return $this->addUsingAlias(McafeeUltimoProcesoMigracionPeer::CREATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by create date desc
*
* @return McafeeUltimoProcesoMigracionQuery The current query, for fluid interface
*/
public function lastCreatedFirst()
{
return $this->addDescendingOrderByColumn(McafeeUltimoProcesoMigracionPeer::CREATED_AT);
}
/**
* Order by create date asc
*
* @return McafeeUltimoProcesoMigracionQuery The current query, for fluid interface
*/
public function firstCreatedFirst()
{
return $this->addAscendingOrderByColumn(McafeeUltimoProcesoMigracionPeer::CREATED_AT);
}
} }
...@@ -1339,8 +1339,19 @@ abstract class BaseNotificacionEmail extends BaseObject implements Persistent ...@@ -1339,8 +1339,19 @@ abstract class BaseNotificacionEmail extends BaseObject implements Persistent
$ret = $this->preSave($con); $ret = $this->preSave($con);
if ($isInsert) { if ($isInsert) {
$ret = $ret && $this->preInsert($con); $ret = $ret && $this->preInsert($con);
// timestampable behavior
if (!$this->isColumnModified(NotificacionEmailPeer::CREATED_AT)) {
$this->setCreatedAt(time());
}
if (!$this->isColumnModified(NotificacionEmailPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} else { } else {
$ret = $ret && $this->preUpdate($con); $ret = $ret && $this->preUpdate($con);
// timestampable behavior
if ($this->isModified() && !$this->isColumnModified(NotificacionEmailPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} }
if ($ret) { if ($ret) {
$affectedRows = $this->doSave($con); $affectedRows = $this->doSave($con);
...@@ -2314,4 +2325,18 @@ abstract class BaseNotificacionEmail extends BaseObject implements Persistent ...@@ -2314,4 +2325,18 @@ abstract class BaseNotificacionEmail extends BaseObject implements Persistent
return $this->alreadyInSave; return $this->alreadyInSave;
} }
// timestampable behavior
/**
* Mark the current object so that the update date doesn't get updated during next save
*
* @return NotificacionEmail The current object (for fluent API support)
*/
public function keepUpdateDateUnchanged()
{
$this->modifiedColumns[] = NotificacionEmailPeer::UPDATED_AT;
return $this;
}
} }
...@@ -1199,4 +1199,69 @@ abstract class BaseNotificacionEmailQuery extends ModelCriteria ...@@ -1199,4 +1199,69 @@ abstract class BaseNotificacionEmailQuery extends ModelCriteria
return $this; return $this;
} }
// timestampable behavior
/**
* Filter by the latest updated
*
* @param int $nbDays Maximum age of the latest update in days
*
* @return NotificacionEmailQuery The current query, for fluid interface
*/
public function recentlyUpdated($nbDays = 7)
{
return $this->addUsingAlias(NotificacionEmailPeer::UPDATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by update date desc
*
* @return NotificacionEmailQuery The current query, for fluid interface
*/
public function lastUpdatedFirst()
{
return $this->addDescendingOrderByColumn(NotificacionEmailPeer::UPDATED_AT);
}
/**
* Order by update date asc
*
* @return NotificacionEmailQuery The current query, for fluid interface
*/
public function firstUpdatedFirst()
{
return $this->addAscendingOrderByColumn(NotificacionEmailPeer::UPDATED_AT);
}
/**
* Filter by the latest created
*
* @param int $nbDays Maximum age of in days
*
* @return NotificacionEmailQuery The current query, for fluid interface
*/
public function recentlyCreated($nbDays = 7)
{
return $this->addUsingAlias(NotificacionEmailPeer::CREATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by create date desc
*
* @return NotificacionEmailQuery The current query, for fluid interface
*/
public function lastCreatedFirst()
{
return $this->addDescendingOrderByColumn(NotificacionEmailPeer::CREATED_AT);
}
/**
* Order by create date asc
*
* @return NotificacionEmailQuery The current query, for fluid interface
*/
public function firstCreatedFirst()
{
return $this->addAscendingOrderByColumn(NotificacionEmailPeer::CREATED_AT);
}
} }
...@@ -980,8 +980,19 @@ abstract class BaseSms extends BaseObject implements Persistent ...@@ -980,8 +980,19 @@ abstract class BaseSms extends BaseObject implements Persistent
$ret = $this->preSave($con); $ret = $this->preSave($con);
if ($isInsert) { if ($isInsert) {
$ret = $ret && $this->preInsert($con); $ret = $ret && $this->preInsert($con);
// timestampable behavior
if (!$this->isColumnModified(SmsPeer::CREATED_AT)) {
$this->setCreatedAt(time());
}
if (!$this->isColumnModified(SmsPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} else { } else {
$ret = $ret && $this->preUpdate($con); $ret = $ret && $this->preUpdate($con);
// timestampable behavior
if ($this->isModified() && !$this->isColumnModified(SmsPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} }
if ($ret) { if ($ret) {
$affectedRows = $this->doSave($con); $affectedRows = $this->doSave($con);
...@@ -1891,4 +1902,18 @@ abstract class BaseSms extends BaseObject implements Persistent ...@@ -1891,4 +1902,18 @@ abstract class BaseSms extends BaseObject implements Persistent
return $this->alreadyInSave; return $this->alreadyInSave;
} }
// timestampable behavior
/**
* Mark the current object so that the update date doesn't get updated during next save
*
* @return Sms The current object (for fluent API support)
*/
public function keepUpdateDateUnchanged()
{
$this->modifiedColumns[] = SmsPeer::UPDATED_AT;
return $this;
}
} }
...@@ -1016,4 +1016,69 @@ abstract class BaseSmsQuery extends ModelCriteria ...@@ -1016,4 +1016,69 @@ abstract class BaseSmsQuery extends ModelCriteria
return $this; return $this;
} }
// timestampable behavior
/**
* Filter by the latest updated
*
* @param int $nbDays Maximum age of the latest update in days
*
* @return SmsQuery The current query, for fluid interface
*/
public function recentlyUpdated($nbDays = 7)
{
return $this->addUsingAlias(SmsPeer::UPDATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by update date desc
*
* @return SmsQuery The current query, for fluid interface
*/
public function lastUpdatedFirst()
{
return $this->addDescendingOrderByColumn(SmsPeer::UPDATED_AT);
}
/**
* Order by update date asc
*
* @return SmsQuery The current query, for fluid interface
*/
public function firstUpdatedFirst()
{
return $this->addAscendingOrderByColumn(SmsPeer::UPDATED_AT);
}
/**
* Filter by the latest created
*
* @param int $nbDays Maximum age of in days
*
* @return SmsQuery The current query, for fluid interface
*/
public function recentlyCreated($nbDays = 7)
{
return $this->addUsingAlias(SmsPeer::CREATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by create date desc
*
* @return SmsQuery The current query, for fluid interface
*/
public function lastCreatedFirst()
{
return $this->addDescendingOrderByColumn(SmsPeer::CREATED_AT);
}
/**
* Order by create date asc
*
* @return SmsQuery The current query, for fluid interface
*/
public function firstCreatedFirst()
{
return $this->addAscendingOrderByColumn(SmsPeer::CREATED_AT);
}
} }
...@@ -918,8 +918,19 @@ abstract class BaseTracking extends BaseObject implements Persistent ...@@ -918,8 +918,19 @@ abstract class BaseTracking extends BaseObject implements Persistent
$ret = $this->preSave($con); $ret = $this->preSave($con);
if ($isInsert) { if ($isInsert) {
$ret = $ret && $this->preInsert($con); $ret = $ret && $this->preInsert($con);
// timestampable behavior
if (!$this->isColumnModified(TrackingPeer::CREATED_AT)) {
$this->setCreatedAt(time());
}
if (!$this->isColumnModified(TrackingPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} else { } else {
$ret = $ret && $this->preUpdate($con); $ret = $ret && $this->preUpdate($con);
// timestampable behavior
if ($this->isModified() && !$this->isColumnModified(TrackingPeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} }
if ($ret) { if ($ret) {
$affectedRows = $this->doSave($con); $affectedRows = $this->doSave($con);
...@@ -1829,4 +1840,18 @@ abstract class BaseTracking extends BaseObject implements Persistent ...@@ -1829,4 +1840,18 @@ abstract class BaseTracking extends BaseObject implements Persistent
return $this->alreadyInSave; return $this->alreadyInSave;
} }
// timestampable behavior
/**
* Mark the current object so that the update date doesn't get updated during next save
*
* @return Tracking The current object (for fluent API support)
*/
public function keepUpdateDateUnchanged()
{
$this->modifiedColumns[] = TrackingPeer::UPDATED_AT;
return $this;
}
} }
...@@ -988,4 +988,69 @@ abstract class BaseTrackingQuery extends ModelCriteria ...@@ -988,4 +988,69 @@ abstract class BaseTrackingQuery extends ModelCriteria
return $this; return $this;
} }
// timestampable behavior
/**
* Filter by the latest updated
*
* @param int $nbDays Maximum age of the latest update in days
*
* @return TrackingQuery The current query, for fluid interface
*/
public function recentlyUpdated($nbDays = 7)
{
return $this->addUsingAlias(TrackingPeer::UPDATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by update date desc
*
* @return TrackingQuery The current query, for fluid interface
*/
public function lastUpdatedFirst()
{
return $this->addDescendingOrderByColumn(TrackingPeer::UPDATED_AT);
}
/**
* Order by update date asc
*
* @return TrackingQuery The current query, for fluid interface
*/
public function firstUpdatedFirst()
{
return $this->addAscendingOrderByColumn(TrackingPeer::UPDATED_AT);
}
/**
* Filter by the latest created
*
* @param int $nbDays Maximum age of in days
*
* @return TrackingQuery The current query, for fluid interface
*/
public function recentlyCreated($nbDays = 7)
{
return $this->addUsingAlias(TrackingPeer::CREATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by create date desc
*
* @return TrackingQuery The current query, for fluid interface
*/
public function lastCreatedFirst()
{
return $this->addDescendingOrderByColumn(TrackingPeer::CREATED_AT);
}
/**
* Order by create date asc
*
* @return TrackingQuery The current query, for fluid interface
*/
public function firstCreatedFirst()
{
return $this->addAscendingOrderByColumn(TrackingPeer::CREATED_AT);
}
} }
...@@ -21,6 +21,8 @@ use AppBundle\Model\McafeeTransaccion; ...@@ -21,6 +21,8 @@ use AppBundle\Model\McafeeTransaccion;
use AppBundle\Model\McafeeTransaccionPendiente; use AppBundle\Model\McafeeTransaccionPendiente;
use AppBundle\Model\McafeeTransaccionPendienteQuery; use AppBundle\Model\McafeeTransaccionPendienteQuery;
use AppBundle\Model\McafeeTransaccionQuery; use AppBundle\Model\McafeeTransaccionQuery;
use AppBundle\Model\McafeeUltimoProcesoNormalizacion;
use AppBundle\Model\McafeeUltimoProcesoNormalizacionQuery;
use AppBundle\Model\Sms; use AppBundle\Model\Sms;
use AppBundle\Model\SmsQuery; use AppBundle\Model\SmsQuery;
use AppBundle\Model\Tracking; use AppBundle\Model\Tracking;
...@@ -147,6 +149,12 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -147,6 +149,12 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
*/ */
protected $umc_movil; protected $umc_movil;
/**
* The value for the umc_fijo field.
* @var string
*/
protected $umc_fijo;
/** /**
* The value for the umc_customer_id field. * The value for the umc_customer_id field.
* @var string * @var string
...@@ -196,6 +204,12 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -196,6 +204,12 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
protected $collMcafeeTransaccionPendientes; protected $collMcafeeTransaccionPendientes;
protected $collMcafeeTransaccionPendientesPartial; protected $collMcafeeTransaccionPendientesPartial;
/**
* @var PropelObjectCollection|McafeeUltimoProcesoNormalizacion[] Collection to store aggregation of McafeeUltimoProcesoNormalizacion objects.
*/
protected $collMcafeeUltimoProcesoNormalizacions;
protected $collMcafeeUltimoProcesoNormalizacionsPartial;
/** /**
* @var PropelObjectCollection|Sms[] Collection to store aggregation of Sms objects. * @var PropelObjectCollection|Sms[] Collection to store aggregation of Sms objects.
*/ */
...@@ -246,6 +260,12 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -246,6 +260,12 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
*/ */
protected $mcafeeTransaccionPendientesScheduledForDeletion = null; protected $mcafeeTransaccionPendientesScheduledForDeletion = null;
/**
* An array of objects scheduled for deletion.
* @var PropelObjectCollection
*/
protected $mcafeeUltimoProcesoNormalizacionsScheduledForDeletion = null;
/** /**
* An array of objects scheduled for deletion. * An array of objects scheduled for deletion.
* @var PropelObjectCollection * @var PropelObjectCollection
...@@ -485,6 +505,17 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -485,6 +505,17 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
return $this->umc_movil; return $this->umc_movil;
} }
/**
* Get the [umc_fijo] column value.
*
* @return string
*/
public function getUmcFijo()
{
return $this->umc_fijo;
}
/** /**
* Get the [umc_customer_id] column value. * Get the [umc_customer_id] column value.
* *
...@@ -952,6 +983,27 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -952,6 +983,27 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
return $this; return $this;
} // setUmcMovil() } // setUmcMovil()
/**
* Set the value of [umc_fijo] column.
*
* @param string $v new value
* @return UsuarioMcafee The current object (for fluent API support)
*/
public function setUmcFijo($v)
{
if ($v !== null) {
$v = (string) $v;
}
if ($this->umc_fijo !== $v) {
$this->umc_fijo = $v;
$this->modifiedColumns[] = UsuarioMcafeePeer::UMC_FIJO;
}
return $this;
} // setUmcFijo()
/** /**
* Set the value of [umc_customer_id] column. * Set the value of [umc_customer_id] column.
* *
...@@ -1133,11 +1185,12 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -1133,11 +1185,12 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
$this->umc_permite_email = ($row[$startcol + 13] !== null) ? (boolean) $row[$startcol + 13] : null; $this->umc_permite_email = ($row[$startcol + 13] !== null) ? (boolean) $row[$startcol + 13] : null;
$this->umc_fecha_desuscripcion_email = ($row[$startcol + 14] !== null) ? (string) $row[$startcol + 14] : null; $this->umc_fecha_desuscripcion_email = ($row[$startcol + 14] !== null) ? (string) $row[$startcol + 14] : null;
$this->umc_movil = ($row[$startcol + 15] !== null) ? (string) $row[$startcol + 15] : null; $this->umc_movil = ($row[$startcol + 15] !== null) ? (string) $row[$startcol + 15] : null;
$this->umc_customer_id = ($row[$startcol + 16] !== null) ? (string) $row[$startcol + 16] : null; $this->umc_fijo = ($row[$startcol + 16] !== null) ? (string) $row[$startcol + 16] : null;
$this->umc_eliminado = ($row[$startcol + 17] !== null) ? (boolean) $row[$startcol + 17] : null; $this->umc_customer_id = ($row[$startcol + 17] !== null) ? (string) $row[$startcol + 17] : null;
$this->umc_permite_sms = ($row[$startcol + 18] !== null) ? (boolean) $row[$startcol + 18] : null; $this->umc_eliminado = ($row[$startcol + 18] !== null) ? (boolean) $row[$startcol + 18] : null;
$this->created_at = ($row[$startcol + 19] !== null) ? (string) $row[$startcol + 19] : null; $this->umc_permite_sms = ($row[$startcol + 19] !== null) ? (boolean) $row[$startcol + 19] : null;
$this->updated_at = ($row[$startcol + 20] !== null) ? (string) $row[$startcol + 20] : null; $this->created_at = ($row[$startcol + 20] !== null) ? (string) $row[$startcol + 20] : null;
$this->updated_at = ($row[$startcol + 21] !== null) ? (string) $row[$startcol + 21] : null;
$this->resetModified(); $this->resetModified();
$this->setNew(false); $this->setNew(false);
...@@ -1147,7 +1200,7 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -1147,7 +1200,7 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
} }
$this->postHydrate($row, $startcol, $rehydrate); $this->postHydrate($row, $startcol, $rehydrate);
return $startcol + 21; // 21 = UsuarioMcafeePeer::NUM_HYDRATE_COLUMNS. return $startcol + 22; // 22 = UsuarioMcafeePeer::NUM_HYDRATE_COLUMNS.
} catch (Exception $e) { } catch (Exception $e) {
throw new PropelException("Error populating UsuarioMcafee object", $e); throw new PropelException("Error populating UsuarioMcafee object", $e);
...@@ -1215,6 +1268,8 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -1215,6 +1268,8 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
$this->collMcafeeTransaccionPendientes = null; $this->collMcafeeTransaccionPendientes = null;
$this->collMcafeeUltimoProcesoNormalizacions = null;
$this->collSmss = null; $this->collSmss = null;
$this->collTrackings = null; $this->collTrackings = null;
...@@ -1291,8 +1346,19 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -1291,8 +1346,19 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
$ret = $this->preSave($con); $ret = $this->preSave($con);
if ($isInsert) { if ($isInsert) {
$ret = $ret && $this->preInsert($con); $ret = $ret && $this->preInsert($con);
// timestampable behavior
if (!$this->isColumnModified(UsuarioMcafeePeer::CREATED_AT)) {
$this->setCreatedAt(time());
}
if (!$this->isColumnModified(UsuarioMcafeePeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} else { } else {
$ret = $ret && $this->preUpdate($con); $ret = $ret && $this->preUpdate($con);
// timestampable behavior
if ($this->isModified() && !$this->isColumnModified(UsuarioMcafeePeer::UPDATED_AT)) {
$this->setUpdatedAt(time());
}
} }
if ($ret) { if ($ret) {
$affectedRows = $this->doSave($con); $affectedRows = $this->doSave($con);
...@@ -1397,6 +1463,24 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -1397,6 +1463,24 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
} }
} }
if ($this->mcafeeUltimoProcesoNormalizacionsScheduledForDeletion !== null) {
if (!$this->mcafeeUltimoProcesoNormalizacionsScheduledForDeletion->isEmpty()) {
foreach ($this->mcafeeUltimoProcesoNormalizacionsScheduledForDeletion as $mcafeeUltimoProcesoNormalizacion) {
// need to save related object because we set the relation to null
$mcafeeUltimoProcesoNormalizacion->save($con);
}
$this->mcafeeUltimoProcesoNormalizacionsScheduledForDeletion = null;
}
}
if ($this->collMcafeeUltimoProcesoNormalizacions !== null) {
foreach ($this->collMcafeeUltimoProcesoNormalizacions as $referrerFK) {
if (!$referrerFK->isDeleted() && ($referrerFK->isNew() || $referrerFK->isModified())) {
$affectedRows += $referrerFK->save($con);
}
}
}
if ($this->smssScheduledForDeletion !== null) { if ($this->smssScheduledForDeletion !== null) {
if (!$this->smssScheduledForDeletion->isEmpty()) { if (!$this->smssScheduledForDeletion->isEmpty()) {
foreach ($this->smssScheduledForDeletion as $sms) { foreach ($this->smssScheduledForDeletion as $sms) {
...@@ -1507,6 +1591,9 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -1507,6 +1591,9 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
if ($this->isColumnModified(UsuarioMcafeePeer::UMC_MOVIL)) { if ($this->isColumnModified(UsuarioMcafeePeer::UMC_MOVIL)) {
$modifiedColumns[':p' . $index++] = '`umc_movil`'; $modifiedColumns[':p' . $index++] = '`umc_movil`';
} }
if ($this->isColumnModified(UsuarioMcafeePeer::UMC_FIJO)) {
$modifiedColumns[':p' . $index++] = '`umc_fijo`';
}
if ($this->isColumnModified(UsuarioMcafeePeer::UMC_CUSTOMER_ID)) { if ($this->isColumnModified(UsuarioMcafeePeer::UMC_CUSTOMER_ID)) {
$modifiedColumns[':p' . $index++] = '`umc_customer_id`'; $modifiedColumns[':p' . $index++] = '`umc_customer_id`';
} }
...@@ -1581,6 +1668,9 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -1581,6 +1668,9 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
case '`umc_movil`': case '`umc_movil`':
$stmt->bindValue($identifier, $this->umc_movil, PDO::PARAM_STR); $stmt->bindValue($identifier, $this->umc_movil, PDO::PARAM_STR);
break; break;
case '`umc_fijo`':
$stmt->bindValue($identifier, $this->umc_fijo, PDO::PARAM_STR);
break;
case '`umc_customer_id`': case '`umc_customer_id`':
$stmt->bindValue($identifier, $this->umc_customer_id, PDO::PARAM_STR); $stmt->bindValue($identifier, $this->umc_customer_id, PDO::PARAM_STR);
break; break;
...@@ -1719,6 +1809,14 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -1719,6 +1809,14 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
} }
} }
if ($this->collMcafeeUltimoProcesoNormalizacions !== null) {
foreach ($this->collMcafeeUltimoProcesoNormalizacions as $referrerFK) {
if (!$referrerFK->validate($columns)) {
$failureMap = array_merge($failureMap, $referrerFK->getValidationFailures());
}
}
}
if ($this->collSmss !== null) { if ($this->collSmss !== null) {
foreach ($this->collSmss as $referrerFK) { foreach ($this->collSmss as $referrerFK) {
if (!$referrerFK->validate($columns)) { if (!$referrerFK->validate($columns)) {
...@@ -1819,18 +1917,21 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -1819,18 +1917,21 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
return $this->getUmcMovil(); return $this->getUmcMovil();
break; break;
case 16: case 16:
return $this->getUmcCustomerId(); return $this->getUmcFijo();
break; break;
case 17: case 17:
return $this->getUmcEliminado(); return $this->getUmcCustomerId();
break; break;
case 18: case 18:
return $this->getUmcPermiteSms(); return $this->getUmcEliminado();
break; break;
case 19: case 19:
return $this->getCreatedAt(); return $this->getUmcPermiteSms();
break; break;
case 20: case 20:
return $this->getCreatedAt();
break;
case 21:
return $this->getUpdatedAt(); return $this->getUpdatedAt();
break; break;
default: default:
...@@ -1878,11 +1979,12 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -1878,11 +1979,12 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
$keys[13] => $this->getUmcPermiteEmail(), $keys[13] => $this->getUmcPermiteEmail(),
$keys[14] => $this->getUmcFechaDesuscripcionEmail(), $keys[14] => $this->getUmcFechaDesuscripcionEmail(),
$keys[15] => $this->getUmcMovil(), $keys[15] => $this->getUmcMovil(),
$keys[16] => $this->getUmcCustomerId(), $keys[16] => $this->getUmcFijo(),
$keys[17] => $this->getUmcEliminado(), $keys[17] => $this->getUmcCustomerId(),
$keys[18] => $this->getUmcPermiteSms(), $keys[18] => $this->getUmcEliminado(),
$keys[19] => $this->getCreatedAt(), $keys[19] => $this->getUmcPermiteSms(),
$keys[20] => $this->getUpdatedAt(), $keys[20] => $this->getCreatedAt(),
$keys[21] => $this->getUpdatedAt(),
); );
$virtualColumns = $this->virtualColumns; $virtualColumns = $this->virtualColumns;
foreach ($virtualColumns as $key => $virtualColumn) { foreach ($virtualColumns as $key => $virtualColumn) {
...@@ -1899,6 +2001,9 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -1899,6 +2001,9 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
if (null !== $this->collMcafeeTransaccionPendientes) { if (null !== $this->collMcafeeTransaccionPendientes) {
$result['McafeeTransaccionPendientes'] = $this->collMcafeeTransaccionPendientes->toArray(null, true, $keyType, $includeLazyLoadColumns, $alreadyDumpedObjects); $result['McafeeTransaccionPendientes'] = $this->collMcafeeTransaccionPendientes->toArray(null, true, $keyType, $includeLazyLoadColumns, $alreadyDumpedObjects);
} }
if (null !== $this->collMcafeeUltimoProcesoNormalizacions) {
$result['McafeeUltimoProcesoNormalizacions'] = $this->collMcafeeUltimoProcesoNormalizacions->toArray(null, true, $keyType, $includeLazyLoadColumns, $alreadyDumpedObjects);
}
if (null !== $this->collSmss) { if (null !== $this->collSmss) {
$result['Smss'] = $this->collSmss->toArray(null, true, $keyType, $includeLazyLoadColumns, $alreadyDumpedObjects); $result['Smss'] = $this->collSmss->toArray(null, true, $keyType, $includeLazyLoadColumns, $alreadyDumpedObjects);
} }
...@@ -1988,18 +2093,21 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -1988,18 +2093,21 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
$this->setUmcMovil($value); $this->setUmcMovil($value);
break; break;
case 16: case 16:
$this->setUmcCustomerId($value); $this->setUmcFijo($value);
break; break;
case 17: case 17:
$this->setUmcEliminado($value); $this->setUmcCustomerId($value);
break; break;
case 18: case 18:
$this->setUmcPermiteSms($value); $this->setUmcEliminado($value);
break; break;
case 19: case 19:
$this->setCreatedAt($value); $this->setUmcPermiteSms($value);
break; break;
case 20: case 20:
$this->setCreatedAt($value);
break;
case 21:
$this->setUpdatedAt($value); $this->setUpdatedAt($value);
break; break;
} // switch() } // switch()
...@@ -2042,11 +2150,12 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -2042,11 +2150,12 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
if (array_key_exists($keys[13], $arr)) $this->setUmcPermiteEmail($arr[$keys[13]]); if (array_key_exists($keys[13], $arr)) $this->setUmcPermiteEmail($arr[$keys[13]]);
if (array_key_exists($keys[14], $arr)) $this->setUmcFechaDesuscripcionEmail($arr[$keys[14]]); if (array_key_exists($keys[14], $arr)) $this->setUmcFechaDesuscripcionEmail($arr[$keys[14]]);
if (array_key_exists($keys[15], $arr)) $this->setUmcMovil($arr[$keys[15]]); if (array_key_exists($keys[15], $arr)) $this->setUmcMovil($arr[$keys[15]]);
if (array_key_exists($keys[16], $arr)) $this->setUmcCustomerId($arr[$keys[16]]); if (array_key_exists($keys[16], $arr)) $this->setUmcFijo($arr[$keys[16]]);
if (array_key_exists($keys[17], $arr)) $this->setUmcEliminado($arr[$keys[17]]); if (array_key_exists($keys[17], $arr)) $this->setUmcCustomerId($arr[$keys[17]]);
if (array_key_exists($keys[18], $arr)) $this->setUmcPermiteSms($arr[$keys[18]]); if (array_key_exists($keys[18], $arr)) $this->setUmcEliminado($arr[$keys[18]]);
if (array_key_exists($keys[19], $arr)) $this->setCreatedAt($arr[$keys[19]]); if (array_key_exists($keys[19], $arr)) $this->setUmcPermiteSms($arr[$keys[19]]);
if (array_key_exists($keys[20], $arr)) $this->setUpdatedAt($arr[$keys[20]]); if (array_key_exists($keys[20], $arr)) $this->setCreatedAt($arr[$keys[20]]);
if (array_key_exists($keys[21], $arr)) $this->setUpdatedAt($arr[$keys[21]]);
} }
/** /**
...@@ -2074,6 +2183,7 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -2074,6 +2183,7 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
if ($this->isColumnModified(UsuarioMcafeePeer::UMC_PERMITE_EMAIL)) $criteria->add(UsuarioMcafeePeer::UMC_PERMITE_EMAIL, $this->umc_permite_email); if ($this->isColumnModified(UsuarioMcafeePeer::UMC_PERMITE_EMAIL)) $criteria->add(UsuarioMcafeePeer::UMC_PERMITE_EMAIL, $this->umc_permite_email);
if ($this->isColumnModified(UsuarioMcafeePeer::UMC_FECHA_DESUSCRIPCION_EMAIL)) $criteria->add(UsuarioMcafeePeer::UMC_FECHA_DESUSCRIPCION_EMAIL, $this->umc_fecha_desuscripcion_email); if ($this->isColumnModified(UsuarioMcafeePeer::UMC_FECHA_DESUSCRIPCION_EMAIL)) $criteria->add(UsuarioMcafeePeer::UMC_FECHA_DESUSCRIPCION_EMAIL, $this->umc_fecha_desuscripcion_email);
if ($this->isColumnModified(UsuarioMcafeePeer::UMC_MOVIL)) $criteria->add(UsuarioMcafeePeer::UMC_MOVIL, $this->umc_movil); if ($this->isColumnModified(UsuarioMcafeePeer::UMC_MOVIL)) $criteria->add(UsuarioMcafeePeer::UMC_MOVIL, $this->umc_movil);
if ($this->isColumnModified(UsuarioMcafeePeer::UMC_FIJO)) $criteria->add(UsuarioMcafeePeer::UMC_FIJO, $this->umc_fijo);
if ($this->isColumnModified(UsuarioMcafeePeer::UMC_CUSTOMER_ID)) $criteria->add(UsuarioMcafeePeer::UMC_CUSTOMER_ID, $this->umc_customer_id); if ($this->isColumnModified(UsuarioMcafeePeer::UMC_CUSTOMER_ID)) $criteria->add(UsuarioMcafeePeer::UMC_CUSTOMER_ID, $this->umc_customer_id);
if ($this->isColumnModified(UsuarioMcafeePeer::UMC_ELIMINADO)) $criteria->add(UsuarioMcafeePeer::UMC_ELIMINADO, $this->umc_eliminado); if ($this->isColumnModified(UsuarioMcafeePeer::UMC_ELIMINADO)) $criteria->add(UsuarioMcafeePeer::UMC_ELIMINADO, $this->umc_eliminado);
if ($this->isColumnModified(UsuarioMcafeePeer::UMC_PERMITE_SMS)) $criteria->add(UsuarioMcafeePeer::UMC_PERMITE_SMS, $this->umc_permite_sms); if ($this->isColumnModified(UsuarioMcafeePeer::UMC_PERMITE_SMS)) $criteria->add(UsuarioMcafeePeer::UMC_PERMITE_SMS, $this->umc_permite_sms);
...@@ -2157,6 +2267,7 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -2157,6 +2267,7 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
$copyObj->setUmcPermiteEmail($this->getUmcPermiteEmail()); $copyObj->setUmcPermiteEmail($this->getUmcPermiteEmail());
$copyObj->setUmcFechaDesuscripcionEmail($this->getUmcFechaDesuscripcionEmail()); $copyObj->setUmcFechaDesuscripcionEmail($this->getUmcFechaDesuscripcionEmail());
$copyObj->setUmcMovil($this->getUmcMovil()); $copyObj->setUmcMovil($this->getUmcMovil());
$copyObj->setUmcFijo($this->getUmcFijo());
$copyObj->setUmcCustomerId($this->getUmcCustomerId()); $copyObj->setUmcCustomerId($this->getUmcCustomerId());
$copyObj->setUmcEliminado($this->getUmcEliminado()); $copyObj->setUmcEliminado($this->getUmcEliminado());
$copyObj->setUmcPermiteSms($this->getUmcPermiteSms()); $copyObj->setUmcPermiteSms($this->getUmcPermiteSms());
...@@ -2188,6 +2299,12 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -2188,6 +2299,12 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
} }
} }
foreach ($this->getMcafeeUltimoProcesoNormalizacions() as $relObj) {
if ($relObj !== $this) { // ensure that we don't try to copy a reference to ourselves
$copyObj->addMcafeeUltimoProcesoNormalizacion($relObj->copy($deepCopy));
}
}
foreach ($this->getSmss() as $relObj) { foreach ($this->getSmss() as $relObj) {
if ($relObj !== $this) { // ensure that we don't try to copy a reference to ourselves if ($relObj !== $this) { // ensure that we don't try to copy a reference to ourselves
$copyObj->addSms($relObj->copy($deepCopy)); $copyObj->addSms($relObj->copy($deepCopy));
...@@ -2270,6 +2387,9 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -2270,6 +2387,9 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
if ('McafeeTransaccionPendiente' == $relationName) { if ('McafeeTransaccionPendiente' == $relationName) {
$this->initMcafeeTransaccionPendientes(); $this->initMcafeeTransaccionPendientes();
} }
if ('McafeeUltimoProcesoNormalizacion' == $relationName) {
$this->initMcafeeUltimoProcesoNormalizacions();
}
if ('Sms' == $relationName) { if ('Sms' == $relationName) {
$this->initSmss(); $this->initSmss();
} }
...@@ -2978,6 +3098,231 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -2978,6 +3098,231 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
return $this; return $this;
} }
/**
* Clears out the collMcafeeUltimoProcesoNormalizacions collection
*
* This does not modify the database; however, it will remove any associated objects, causing
* them to be refetched by subsequent calls to accessor method.
*
* @return UsuarioMcafee The current object (for fluent API support)
* @see addMcafeeUltimoProcesoNormalizacions()
*/
public function clearMcafeeUltimoProcesoNormalizacions()
{
$this->collMcafeeUltimoProcesoNormalizacions = null; // important to set this to null since that means it is uninitialized
$this->collMcafeeUltimoProcesoNormalizacionsPartial = null;
return $this;
}
/**
* reset is the collMcafeeUltimoProcesoNormalizacions collection loaded partially
*
* @return void
*/
public function resetPartialMcafeeUltimoProcesoNormalizacions($v = true)
{
$this->collMcafeeUltimoProcesoNormalizacionsPartial = $v;
}
/**
* Initializes the collMcafeeUltimoProcesoNormalizacions collection.
*
* By default this just sets the collMcafeeUltimoProcesoNormalizacions collection to an empty array (like clearcollMcafeeUltimoProcesoNormalizacions());
* however, you may wish to override this method in your stub class to provide setting appropriate
* to your application -- for example, setting the initial array to the values stored in database.
*
* @param boolean $overrideExisting If set to true, the method call initializes
* the collection even if it is not empty
*
* @return void
*/
public function initMcafeeUltimoProcesoNormalizacions($overrideExisting = true)
{
if (null !== $this->collMcafeeUltimoProcesoNormalizacions && !$overrideExisting) {
return;
}
$this->collMcafeeUltimoProcesoNormalizacions = new PropelObjectCollection();
$this->collMcafeeUltimoProcesoNormalizacions->setModel('McafeeUltimoProcesoNormalizacion');
}
/**
* Gets an array of McafeeUltimoProcesoNormalizacion objects which contain a foreign key that references this object.
*
* If the $criteria is not null, it is used to always fetch the results from the database.
* Otherwise the results are fetched from the database the first time, then cached.
* Next time the same method is called without $criteria, the cached collection is returned.
* If this UsuarioMcafee is new, it will return
* an empty collection or the current collection; the criteria is ignored on a new object.
*
* @param Criteria $criteria optional Criteria object to narrow the query
* @param PropelPDO $con optional connection object
* @return PropelObjectCollection|McafeeUltimoProcesoNormalizacion[] List of McafeeUltimoProcesoNormalizacion objects
* @throws PropelException
*/
public function getMcafeeUltimoProcesoNormalizacions($criteria = null, PropelPDO $con = null)
{
$partial = $this->collMcafeeUltimoProcesoNormalizacionsPartial && !$this->isNew();
if (null === $this->collMcafeeUltimoProcesoNormalizacions || null !== $criteria || $partial) {
if ($this->isNew() && null === $this->collMcafeeUltimoProcesoNormalizacions) {
// return empty collection
$this->initMcafeeUltimoProcesoNormalizacions();
} else {
$collMcafeeUltimoProcesoNormalizacions = McafeeUltimoProcesoNormalizacionQuery::create(null, $criteria)
->filterByUsuarioMcafee($this)
->find($con);
if (null !== $criteria) {
if (false !== $this->collMcafeeUltimoProcesoNormalizacionsPartial && count($collMcafeeUltimoProcesoNormalizacions)) {
$this->initMcafeeUltimoProcesoNormalizacions(false);
foreach ($collMcafeeUltimoProcesoNormalizacions as $obj) {
if (false == $this->collMcafeeUltimoProcesoNormalizacions->contains($obj)) {
$this->collMcafeeUltimoProcesoNormalizacions->append($obj);
}
}
$this->collMcafeeUltimoProcesoNormalizacionsPartial = true;
}
$collMcafeeUltimoProcesoNormalizacions->getInternalIterator()->rewind();
return $collMcafeeUltimoProcesoNormalizacions;
}
if ($partial && $this->collMcafeeUltimoProcesoNormalizacions) {
foreach ($this->collMcafeeUltimoProcesoNormalizacions as $obj) {
if ($obj->isNew()) {
$collMcafeeUltimoProcesoNormalizacions[] = $obj;
}
}
}
$this->collMcafeeUltimoProcesoNormalizacions = $collMcafeeUltimoProcesoNormalizacions;
$this->collMcafeeUltimoProcesoNormalizacionsPartial = false;
}
}
return $this->collMcafeeUltimoProcesoNormalizacions;
}
/**
* Sets a collection of McafeeUltimoProcesoNormalizacion objects related by a one-to-many relationship
* to the current object.
* It will also schedule objects for deletion based on a diff between old objects (aka persisted)
* and new objects from the given Propel collection.
*
* @param PropelCollection $mcafeeUltimoProcesoNormalizacions A Propel collection.
* @param PropelPDO $con Optional connection object
* @return UsuarioMcafee The current object (for fluent API support)
*/
public function setMcafeeUltimoProcesoNormalizacions(PropelCollection $mcafeeUltimoProcesoNormalizacions, PropelPDO $con = null)
{
$mcafeeUltimoProcesoNormalizacionsToDelete = $this->getMcafeeUltimoProcesoNormalizacions(new Criteria(), $con)->diff($mcafeeUltimoProcesoNormalizacions);
$this->mcafeeUltimoProcesoNormalizacionsScheduledForDeletion = $mcafeeUltimoProcesoNormalizacionsToDelete;
foreach ($mcafeeUltimoProcesoNormalizacionsToDelete as $mcafeeUltimoProcesoNormalizacionRemoved) {
$mcafeeUltimoProcesoNormalizacionRemoved->setUsuarioMcafee(null);
}
$this->collMcafeeUltimoProcesoNormalizacions = null;
foreach ($mcafeeUltimoProcesoNormalizacions as $mcafeeUltimoProcesoNormalizacion) {
$this->addMcafeeUltimoProcesoNormalizacion($mcafeeUltimoProcesoNormalizacion);
}
$this->collMcafeeUltimoProcesoNormalizacions = $mcafeeUltimoProcesoNormalizacions;
$this->collMcafeeUltimoProcesoNormalizacionsPartial = false;
return $this;
}
/**
* Returns the number of related McafeeUltimoProcesoNormalizacion objects.
*
* @param Criteria $criteria
* @param boolean $distinct
* @param PropelPDO $con
* @return int Count of related McafeeUltimoProcesoNormalizacion objects.
* @throws PropelException
*/
public function countMcafeeUltimoProcesoNormalizacions(Criteria $criteria = null, $distinct = false, PropelPDO $con = null)
{
$partial = $this->collMcafeeUltimoProcesoNormalizacionsPartial && !$this->isNew();
if (null === $this->collMcafeeUltimoProcesoNormalizacions || null !== $criteria || $partial) {
if ($this->isNew() && null === $this->collMcafeeUltimoProcesoNormalizacions) {
return 0;
}
if ($partial && !$criteria) {
return count($this->getMcafeeUltimoProcesoNormalizacions());
}
$query = McafeeUltimoProcesoNormalizacionQuery::create(null, $criteria);
if ($distinct) {
$query->distinct();
}
return $query
->filterByUsuarioMcafee($this)
->count($con);
}
return count($this->collMcafeeUltimoProcesoNormalizacions);
}
/**
* Method called to associate a McafeeUltimoProcesoNormalizacion object to this object
* through the McafeeUltimoProcesoNormalizacion foreign key attribute.
*
* @param McafeeUltimoProcesoNormalizacion $l McafeeUltimoProcesoNormalizacion
* @return UsuarioMcafee The current object (for fluent API support)
*/
public function addMcafeeUltimoProcesoNormalizacion(McafeeUltimoProcesoNormalizacion $l)
{
if ($this->collMcafeeUltimoProcesoNormalizacions === null) {
$this->initMcafeeUltimoProcesoNormalizacions();
$this->collMcafeeUltimoProcesoNormalizacionsPartial = true;
}
if (!in_array($l, $this->collMcafeeUltimoProcesoNormalizacions->getArrayCopy(), true)) { // only add it if the **same** object is not already associated
$this->doAddMcafeeUltimoProcesoNormalizacion($l);
if ($this->mcafeeUltimoProcesoNormalizacionsScheduledForDeletion and $this->mcafeeUltimoProcesoNormalizacionsScheduledForDeletion->contains($l)) {
$this->mcafeeUltimoProcesoNormalizacionsScheduledForDeletion->remove($this->mcafeeUltimoProcesoNormalizacionsScheduledForDeletion->search($l));
}
}
return $this;
}
/**
* @param McafeeUltimoProcesoNormalizacion $mcafeeUltimoProcesoNormalizacion The mcafeeUltimoProcesoNormalizacion object to add.
*/
protected function doAddMcafeeUltimoProcesoNormalizacion($mcafeeUltimoProcesoNormalizacion)
{
$this->collMcafeeUltimoProcesoNormalizacions[]= $mcafeeUltimoProcesoNormalizacion;
$mcafeeUltimoProcesoNormalizacion->setUsuarioMcafee($this);
}
/**
* @param McafeeUltimoProcesoNormalizacion $mcafeeUltimoProcesoNormalizacion The mcafeeUltimoProcesoNormalizacion object to remove.
* @return UsuarioMcafee The current object (for fluent API support)
*/
public function removeMcafeeUltimoProcesoNormalizacion($mcafeeUltimoProcesoNormalizacion)
{
if ($this->getMcafeeUltimoProcesoNormalizacions()->contains($mcafeeUltimoProcesoNormalizacion)) {
$this->collMcafeeUltimoProcesoNormalizacions->remove($this->collMcafeeUltimoProcesoNormalizacions->search($mcafeeUltimoProcesoNormalizacion));
if (null === $this->mcafeeUltimoProcesoNormalizacionsScheduledForDeletion) {
$this->mcafeeUltimoProcesoNormalizacionsScheduledForDeletion = clone $this->collMcafeeUltimoProcesoNormalizacions;
$this->mcafeeUltimoProcesoNormalizacionsScheduledForDeletion->clear();
}
$this->mcafeeUltimoProcesoNormalizacionsScheduledForDeletion[]= $mcafeeUltimoProcesoNormalizacion;
$mcafeeUltimoProcesoNormalizacion->setUsuarioMcafee(null);
}
return $this;
}
/** /**
* Clears out the collSmss collection * Clears out the collSmss collection
* *
...@@ -3499,6 +3844,7 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -3499,6 +3844,7 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
$this->umc_permite_email = null; $this->umc_permite_email = null;
$this->umc_fecha_desuscripcion_email = null; $this->umc_fecha_desuscripcion_email = null;
$this->umc_movil = null; $this->umc_movil = null;
$this->umc_fijo = null;
$this->umc_customer_id = null; $this->umc_customer_id = null;
$this->umc_eliminado = null; $this->umc_eliminado = null;
$this->umc_permite_sms = null; $this->umc_permite_sms = null;
...@@ -3542,6 +3888,11 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -3542,6 +3888,11 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
$o->clearAllReferences($deep); $o->clearAllReferences($deep);
} }
} }
if ($this->collMcafeeUltimoProcesoNormalizacions) {
foreach ($this->collMcafeeUltimoProcesoNormalizacions as $o) {
$o->clearAllReferences($deep);
}
}
if ($this->collSmss) { if ($this->collSmss) {
foreach ($this->collSmss as $o) { foreach ($this->collSmss as $o) {
$o->clearAllReferences($deep); $o->clearAllReferences($deep);
...@@ -3568,6 +3919,10 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -3568,6 +3919,10 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
$this->collMcafeeTransaccionPendientes->clearIterator(); $this->collMcafeeTransaccionPendientes->clearIterator();
} }
$this->collMcafeeTransaccionPendientes = null; $this->collMcafeeTransaccionPendientes = null;
if ($this->collMcafeeUltimoProcesoNormalizacions instanceof PropelCollection) {
$this->collMcafeeUltimoProcesoNormalizacions->clearIterator();
}
$this->collMcafeeUltimoProcesoNormalizacions = null;
if ($this->collSmss instanceof PropelCollection) { if ($this->collSmss instanceof PropelCollection) {
$this->collSmss->clearIterator(); $this->collSmss->clearIterator();
} }
...@@ -3598,4 +3953,18 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent ...@@ -3598,4 +3953,18 @@ abstract class BaseUsuarioMcafee extends BaseObject implements Persistent
return $this->alreadyInSave; return $this->alreadyInSave;
} }
// timestampable behavior
/**
* Mark the current object so that the update date doesn't get updated during next save
*
* @return UsuarioMcafee The current object (for fluent API support)
*/
public function keepUpdateDateUnchanged()
{
$this->modifiedColumns[] = UsuarioMcafeePeer::UPDATED_AT;
return $this;
}
} }
...@@ -29,13 +29,13 @@ abstract class BaseUsuarioMcafeePeer ...@@ -29,13 +29,13 @@ abstract class BaseUsuarioMcafeePeer
const TM_CLASS = 'AppBundle\\Model\\map\\UsuarioMcafeeTableMap'; const TM_CLASS = 'AppBundle\\Model\\map\\UsuarioMcafeeTableMap';
/** The total number of columns. */ /** The total number of columns. */
const NUM_COLUMNS = 21; const NUM_COLUMNS = 22;
/** The number of lazy-loaded columns. */ /** The number of lazy-loaded columns. */
const NUM_LAZY_LOAD_COLUMNS = 0; const NUM_LAZY_LOAD_COLUMNS = 0;
/** The number of columns to hydrate (NUM_COLUMNS - NUM_LAZY_LOAD_COLUMNS) */ /** The number of columns to hydrate (NUM_COLUMNS - NUM_LAZY_LOAD_COLUMNS) */
const NUM_HYDRATE_COLUMNS = 21; const NUM_HYDRATE_COLUMNS = 22;
/** the column name for the umc_id field */ /** the column name for the umc_id field */
const UMC_ID = 'usuario_mcafee.umc_id'; const UMC_ID = 'usuario_mcafee.umc_id';
...@@ -85,6 +85,9 @@ abstract class BaseUsuarioMcafeePeer ...@@ -85,6 +85,9 @@ abstract class BaseUsuarioMcafeePeer
/** the column name for the umc_movil field */ /** the column name for the umc_movil field */
const UMC_MOVIL = 'usuario_mcafee.umc_movil'; const UMC_MOVIL = 'usuario_mcafee.umc_movil';
/** the column name for the umc_fijo field */
const UMC_FIJO = 'usuario_mcafee.umc_fijo';
/** the column name for the umc_customer_id field */ /** the column name for the umc_customer_id field */
const UMC_CUSTOMER_ID = 'usuario_mcafee.umc_customer_id'; const UMC_CUSTOMER_ID = 'usuario_mcafee.umc_customer_id';
...@@ -119,12 +122,12 @@ abstract class BaseUsuarioMcafeePeer ...@@ -119,12 +122,12 @@ abstract class BaseUsuarioMcafeePeer
* e.g. UsuarioMcafeePeer::$fieldNames[UsuarioMcafeePeer::TYPE_PHPNAME][0] = 'Id' * e.g. UsuarioMcafeePeer::$fieldNames[UsuarioMcafeePeer::TYPE_PHPNAME][0] = 'Id'
*/ */
protected static $fieldNames = array ( protected static $fieldNames = array (
BasePeer::TYPE_PHPNAME => array ('UmcId', 'UmcMcafeeTipoProducto', 'UmcMcafeeAffid', 'UmcMcafeeCcid', 'UmcMcafeeEmail', 'UmcMcafeeSku', 'UmcMcafeeKeycard', 'UmcMcafeeStatus', 'UmcMovistarActivo', 'UmcMovistarAny', 'UmcMovistarEmail', 'UmcMovistarRut', 'UmcParametroEncriptado', 'UmcPermiteEmail', 'UmcFechaDesuscripcionEmail', 'UmcMovil', 'UmcCustomerId', 'UmcEliminado', 'UmcPermiteSms', 'CreatedAt', 'UpdatedAt', ), BasePeer::TYPE_PHPNAME => array ('UmcId', 'UmcMcafeeTipoProducto', 'UmcMcafeeAffid', 'UmcMcafeeCcid', 'UmcMcafeeEmail', 'UmcMcafeeSku', 'UmcMcafeeKeycard', 'UmcMcafeeStatus', 'UmcMovistarActivo', 'UmcMovistarAny', 'UmcMovistarEmail', 'UmcMovistarRut', 'UmcParametroEncriptado', 'UmcPermiteEmail', 'UmcFechaDesuscripcionEmail', 'UmcMovil', 'UmcFijo', 'UmcCustomerId', 'UmcEliminado', 'UmcPermiteSms', 'CreatedAt', 'UpdatedAt', ),
BasePeer::TYPE_STUDLYPHPNAME => array ('umcId', 'umcMcafeeTipoProducto', 'umcMcafeeAffid', 'umcMcafeeCcid', 'umcMcafeeEmail', 'umcMcafeeSku', 'umcMcafeeKeycard', 'umcMcafeeStatus', 'umcMovistarActivo', 'umcMovistarAny', 'umcMovistarEmail', 'umcMovistarRut', 'umcParametroEncriptado', 'umcPermiteEmail', 'umcFechaDesuscripcionEmail', 'umcMovil', 'umcCustomerId', 'umcEliminado', 'umcPermiteSms', 'createdAt', 'updatedAt', ), BasePeer::TYPE_STUDLYPHPNAME => array ('umcId', 'umcMcafeeTipoProducto', 'umcMcafeeAffid', 'umcMcafeeCcid', 'umcMcafeeEmail', 'umcMcafeeSku', 'umcMcafeeKeycard', 'umcMcafeeStatus', 'umcMovistarActivo', 'umcMovistarAny', 'umcMovistarEmail', 'umcMovistarRut', 'umcParametroEncriptado', 'umcPermiteEmail', 'umcFechaDesuscripcionEmail', 'umcMovil', 'umcFijo', 'umcCustomerId', 'umcEliminado', 'umcPermiteSms', 'createdAt', 'updatedAt', ),
BasePeer::TYPE_COLNAME => array (UsuarioMcafeePeer::UMC_ID, UsuarioMcafeePeer::UMC_MCAFEE_TIPO_PRODUCTO, UsuarioMcafeePeer::UMC_MCAFEE_AFFID, UsuarioMcafeePeer::UMC_MCAFEE_CCID, UsuarioMcafeePeer::UMC_MCAFEE_EMAIL, UsuarioMcafeePeer::UMC_MCAFEE_SKU, UsuarioMcafeePeer::UMC_MCAFEE_KEYCARD, UsuarioMcafeePeer::UMC_MCAFEE_STATUS, UsuarioMcafeePeer::UMC_MOVISTAR_ACTIVO, UsuarioMcafeePeer::UMC_MOVISTAR_ANY, UsuarioMcafeePeer::UMC_MOVISTAR_EMAIL, UsuarioMcafeePeer::UMC_MOVISTAR_RUT, UsuarioMcafeePeer::UMC_PARAMETRO_ENCRIPTADO, UsuarioMcafeePeer::UMC_PERMITE_EMAIL, UsuarioMcafeePeer::UMC_FECHA_DESUSCRIPCION_EMAIL, UsuarioMcafeePeer::UMC_MOVIL, UsuarioMcafeePeer::UMC_CUSTOMER_ID, UsuarioMcafeePeer::UMC_ELIMINADO, UsuarioMcafeePeer::UMC_PERMITE_SMS, UsuarioMcafeePeer::CREATED_AT, UsuarioMcafeePeer::UPDATED_AT, ), BasePeer::TYPE_COLNAME => array (UsuarioMcafeePeer::UMC_ID, UsuarioMcafeePeer::UMC_MCAFEE_TIPO_PRODUCTO, UsuarioMcafeePeer::UMC_MCAFEE_AFFID, UsuarioMcafeePeer::UMC_MCAFEE_CCID, UsuarioMcafeePeer::UMC_MCAFEE_EMAIL, UsuarioMcafeePeer::UMC_MCAFEE_SKU, UsuarioMcafeePeer::UMC_MCAFEE_KEYCARD, UsuarioMcafeePeer::UMC_MCAFEE_STATUS, UsuarioMcafeePeer::UMC_MOVISTAR_ACTIVO, UsuarioMcafeePeer::UMC_MOVISTAR_ANY, UsuarioMcafeePeer::UMC_MOVISTAR_EMAIL, UsuarioMcafeePeer::UMC_MOVISTAR_RUT, UsuarioMcafeePeer::UMC_PARAMETRO_ENCRIPTADO, UsuarioMcafeePeer::UMC_PERMITE_EMAIL, UsuarioMcafeePeer::UMC_FECHA_DESUSCRIPCION_EMAIL, UsuarioMcafeePeer::UMC_MOVIL, UsuarioMcafeePeer::UMC_FIJO, UsuarioMcafeePeer::UMC_CUSTOMER_ID, UsuarioMcafeePeer::UMC_ELIMINADO, UsuarioMcafeePeer::UMC_PERMITE_SMS, UsuarioMcafeePeer::CREATED_AT, UsuarioMcafeePeer::UPDATED_AT, ),
BasePeer::TYPE_RAW_COLNAME => array ('UMC_ID', 'UMC_MCAFEE_TIPO_PRODUCTO', 'UMC_MCAFEE_AFFID', 'UMC_MCAFEE_CCID', 'UMC_MCAFEE_EMAIL', 'UMC_MCAFEE_SKU', 'UMC_MCAFEE_KEYCARD', 'UMC_MCAFEE_STATUS', 'UMC_MOVISTAR_ACTIVO', 'UMC_MOVISTAR_ANY', 'UMC_MOVISTAR_EMAIL', 'UMC_MOVISTAR_RUT', 'UMC_PARAMETRO_ENCRIPTADO', 'UMC_PERMITE_EMAIL', 'UMC_FECHA_DESUSCRIPCION_EMAIL', 'UMC_MOVIL', 'UMC_CUSTOMER_ID', 'UMC_ELIMINADO', 'UMC_PERMITE_SMS', 'CREATED_AT', 'UPDATED_AT', ), BasePeer::TYPE_RAW_COLNAME => array ('UMC_ID', 'UMC_MCAFEE_TIPO_PRODUCTO', 'UMC_MCAFEE_AFFID', 'UMC_MCAFEE_CCID', 'UMC_MCAFEE_EMAIL', 'UMC_MCAFEE_SKU', 'UMC_MCAFEE_KEYCARD', 'UMC_MCAFEE_STATUS', 'UMC_MOVISTAR_ACTIVO', 'UMC_MOVISTAR_ANY', 'UMC_MOVISTAR_EMAIL', 'UMC_MOVISTAR_RUT', 'UMC_PARAMETRO_ENCRIPTADO', 'UMC_PERMITE_EMAIL', 'UMC_FECHA_DESUSCRIPCION_EMAIL', 'UMC_MOVIL', 'UMC_FIJO', 'UMC_CUSTOMER_ID', 'UMC_ELIMINADO', 'UMC_PERMITE_SMS', 'CREATED_AT', 'UPDATED_AT', ),
BasePeer::TYPE_FIELDNAME => array ('umc_id', 'umc_mcafee_tipo_producto', 'umc_mcafee_affid', 'umc_mcafee_ccid', 'umc_mcafee_email', 'umc_mcafee_sku', 'umc_mcafee_keycard', 'umc_mcafee_status', 'umc_movistar_activo', 'umc_movistar_any', 'umc_movistar_email', 'umc_movistar_rut', 'umc_parametro_encriptado', 'umc_permite_email', 'umc_fecha_desuscripcion_email', 'umc_movil', 'umc_customer_id', 'umc_eliminado', 'umc_permite_sms', 'created_at', 'updated_at', ), BasePeer::TYPE_FIELDNAME => array ('umc_id', 'umc_mcafee_tipo_producto', 'umc_mcafee_affid', 'umc_mcafee_ccid', 'umc_mcafee_email', 'umc_mcafee_sku', 'umc_mcafee_keycard', 'umc_mcafee_status', 'umc_movistar_activo', 'umc_movistar_any', 'umc_movistar_email', 'umc_movistar_rut', 'umc_parametro_encriptado', 'umc_permite_email', 'umc_fecha_desuscripcion_email', 'umc_movil', 'umc_fijo', 'umc_customer_id', 'umc_eliminado', 'umc_permite_sms', 'created_at', 'updated_at', ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, ) BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, )
); );
/** /**
...@@ -134,12 +137,12 @@ abstract class BaseUsuarioMcafeePeer ...@@ -134,12 +137,12 @@ abstract class BaseUsuarioMcafeePeer
* e.g. UsuarioMcafeePeer::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0 * e.g. UsuarioMcafeePeer::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
*/ */
protected static $fieldKeys = array ( protected static $fieldKeys = array (
BasePeer::TYPE_PHPNAME => array ('UmcId' => 0, 'UmcMcafeeTipoProducto' => 1, 'UmcMcafeeAffid' => 2, 'UmcMcafeeCcid' => 3, 'UmcMcafeeEmail' => 4, 'UmcMcafeeSku' => 5, 'UmcMcafeeKeycard' => 6, 'UmcMcafeeStatus' => 7, 'UmcMovistarActivo' => 8, 'UmcMovistarAny' => 9, 'UmcMovistarEmail' => 10, 'UmcMovistarRut' => 11, 'UmcParametroEncriptado' => 12, 'UmcPermiteEmail' => 13, 'UmcFechaDesuscripcionEmail' => 14, 'UmcMovil' => 15, 'UmcCustomerId' => 16, 'UmcEliminado' => 17, 'UmcPermiteSms' => 18, 'CreatedAt' => 19, 'UpdatedAt' => 20, ), BasePeer::TYPE_PHPNAME => array ('UmcId' => 0, 'UmcMcafeeTipoProducto' => 1, 'UmcMcafeeAffid' => 2, 'UmcMcafeeCcid' => 3, 'UmcMcafeeEmail' => 4, 'UmcMcafeeSku' => 5, 'UmcMcafeeKeycard' => 6, 'UmcMcafeeStatus' => 7, 'UmcMovistarActivo' => 8, 'UmcMovistarAny' => 9, 'UmcMovistarEmail' => 10, 'UmcMovistarRut' => 11, 'UmcParametroEncriptado' => 12, 'UmcPermiteEmail' => 13, 'UmcFechaDesuscripcionEmail' => 14, 'UmcMovil' => 15, 'UmcFijo' => 16, 'UmcCustomerId' => 17, 'UmcEliminado' => 18, 'UmcPermiteSms' => 19, 'CreatedAt' => 20, 'UpdatedAt' => 21, ),
BasePeer::TYPE_STUDLYPHPNAME => array ('umcId' => 0, 'umcMcafeeTipoProducto' => 1, 'umcMcafeeAffid' => 2, 'umcMcafeeCcid' => 3, 'umcMcafeeEmail' => 4, 'umcMcafeeSku' => 5, 'umcMcafeeKeycard' => 6, 'umcMcafeeStatus' => 7, 'umcMovistarActivo' => 8, 'umcMovistarAny' => 9, 'umcMovistarEmail' => 10, 'umcMovistarRut' => 11, 'umcParametroEncriptado' => 12, 'umcPermiteEmail' => 13, 'umcFechaDesuscripcionEmail' => 14, 'umcMovil' => 15, 'umcCustomerId' => 16, 'umcEliminado' => 17, 'umcPermiteSms' => 18, 'createdAt' => 19, 'updatedAt' => 20, ), BasePeer::TYPE_STUDLYPHPNAME => array ('umcId' => 0, 'umcMcafeeTipoProducto' => 1, 'umcMcafeeAffid' => 2, 'umcMcafeeCcid' => 3, 'umcMcafeeEmail' => 4, 'umcMcafeeSku' => 5, 'umcMcafeeKeycard' => 6, 'umcMcafeeStatus' => 7, 'umcMovistarActivo' => 8, 'umcMovistarAny' => 9, 'umcMovistarEmail' => 10, 'umcMovistarRut' => 11, 'umcParametroEncriptado' => 12, 'umcPermiteEmail' => 13, 'umcFechaDesuscripcionEmail' => 14, 'umcMovil' => 15, 'umcFijo' => 16, 'umcCustomerId' => 17, 'umcEliminado' => 18, 'umcPermiteSms' => 19, 'createdAt' => 20, 'updatedAt' => 21, ),
BasePeer::TYPE_COLNAME => array (UsuarioMcafeePeer::UMC_ID => 0, UsuarioMcafeePeer::UMC_MCAFEE_TIPO_PRODUCTO => 1, UsuarioMcafeePeer::UMC_MCAFEE_AFFID => 2, UsuarioMcafeePeer::UMC_MCAFEE_CCID => 3, UsuarioMcafeePeer::UMC_MCAFEE_EMAIL => 4, UsuarioMcafeePeer::UMC_MCAFEE_SKU => 5, UsuarioMcafeePeer::UMC_MCAFEE_KEYCARD => 6, UsuarioMcafeePeer::UMC_MCAFEE_STATUS => 7, UsuarioMcafeePeer::UMC_MOVISTAR_ACTIVO => 8, UsuarioMcafeePeer::UMC_MOVISTAR_ANY => 9, UsuarioMcafeePeer::UMC_MOVISTAR_EMAIL => 10, UsuarioMcafeePeer::UMC_MOVISTAR_RUT => 11, UsuarioMcafeePeer::UMC_PARAMETRO_ENCRIPTADO => 12, UsuarioMcafeePeer::UMC_PERMITE_EMAIL => 13, UsuarioMcafeePeer::UMC_FECHA_DESUSCRIPCION_EMAIL => 14, UsuarioMcafeePeer::UMC_MOVIL => 15, UsuarioMcafeePeer::UMC_CUSTOMER_ID => 16, UsuarioMcafeePeer::UMC_ELIMINADO => 17, UsuarioMcafeePeer::UMC_PERMITE_SMS => 18, UsuarioMcafeePeer::CREATED_AT => 19, UsuarioMcafeePeer::UPDATED_AT => 20, ), BasePeer::TYPE_COLNAME => array (UsuarioMcafeePeer::UMC_ID => 0, UsuarioMcafeePeer::UMC_MCAFEE_TIPO_PRODUCTO => 1, UsuarioMcafeePeer::UMC_MCAFEE_AFFID => 2, UsuarioMcafeePeer::UMC_MCAFEE_CCID => 3, UsuarioMcafeePeer::UMC_MCAFEE_EMAIL => 4, UsuarioMcafeePeer::UMC_MCAFEE_SKU => 5, UsuarioMcafeePeer::UMC_MCAFEE_KEYCARD => 6, UsuarioMcafeePeer::UMC_MCAFEE_STATUS => 7, UsuarioMcafeePeer::UMC_MOVISTAR_ACTIVO => 8, UsuarioMcafeePeer::UMC_MOVISTAR_ANY => 9, UsuarioMcafeePeer::UMC_MOVISTAR_EMAIL => 10, UsuarioMcafeePeer::UMC_MOVISTAR_RUT => 11, UsuarioMcafeePeer::UMC_PARAMETRO_ENCRIPTADO => 12, UsuarioMcafeePeer::UMC_PERMITE_EMAIL => 13, UsuarioMcafeePeer::UMC_FECHA_DESUSCRIPCION_EMAIL => 14, UsuarioMcafeePeer::UMC_MOVIL => 15, UsuarioMcafeePeer::UMC_FIJO => 16, UsuarioMcafeePeer::UMC_CUSTOMER_ID => 17, UsuarioMcafeePeer::UMC_ELIMINADO => 18, UsuarioMcafeePeer::UMC_PERMITE_SMS => 19, UsuarioMcafeePeer::CREATED_AT => 20, UsuarioMcafeePeer::UPDATED_AT => 21, ),
BasePeer::TYPE_RAW_COLNAME => array ('UMC_ID' => 0, 'UMC_MCAFEE_TIPO_PRODUCTO' => 1, 'UMC_MCAFEE_AFFID' => 2, 'UMC_MCAFEE_CCID' => 3, 'UMC_MCAFEE_EMAIL' => 4, 'UMC_MCAFEE_SKU' => 5, 'UMC_MCAFEE_KEYCARD' => 6, 'UMC_MCAFEE_STATUS' => 7, 'UMC_MOVISTAR_ACTIVO' => 8, 'UMC_MOVISTAR_ANY' => 9, 'UMC_MOVISTAR_EMAIL' => 10, 'UMC_MOVISTAR_RUT' => 11, 'UMC_PARAMETRO_ENCRIPTADO' => 12, 'UMC_PERMITE_EMAIL' => 13, 'UMC_FECHA_DESUSCRIPCION_EMAIL' => 14, 'UMC_MOVIL' => 15, 'UMC_CUSTOMER_ID' => 16, 'UMC_ELIMINADO' => 17, 'UMC_PERMITE_SMS' => 18, 'CREATED_AT' => 19, 'UPDATED_AT' => 20, ), BasePeer::TYPE_RAW_COLNAME => array ('UMC_ID' => 0, 'UMC_MCAFEE_TIPO_PRODUCTO' => 1, 'UMC_MCAFEE_AFFID' => 2, 'UMC_MCAFEE_CCID' => 3, 'UMC_MCAFEE_EMAIL' => 4, 'UMC_MCAFEE_SKU' => 5, 'UMC_MCAFEE_KEYCARD' => 6, 'UMC_MCAFEE_STATUS' => 7, 'UMC_MOVISTAR_ACTIVO' => 8, 'UMC_MOVISTAR_ANY' => 9, 'UMC_MOVISTAR_EMAIL' => 10, 'UMC_MOVISTAR_RUT' => 11, 'UMC_PARAMETRO_ENCRIPTADO' => 12, 'UMC_PERMITE_EMAIL' => 13, 'UMC_FECHA_DESUSCRIPCION_EMAIL' => 14, 'UMC_MOVIL' => 15, 'UMC_FIJO' => 16, 'UMC_CUSTOMER_ID' => 17, 'UMC_ELIMINADO' => 18, 'UMC_PERMITE_SMS' => 19, 'CREATED_AT' => 20, 'UPDATED_AT' => 21, ),
BasePeer::TYPE_FIELDNAME => array ('umc_id' => 0, 'umc_mcafee_tipo_producto' => 1, 'umc_mcafee_affid' => 2, 'umc_mcafee_ccid' => 3, 'umc_mcafee_email' => 4, 'umc_mcafee_sku' => 5, 'umc_mcafee_keycard' => 6, 'umc_mcafee_status' => 7, 'umc_movistar_activo' => 8, 'umc_movistar_any' => 9, 'umc_movistar_email' => 10, 'umc_movistar_rut' => 11, 'umc_parametro_encriptado' => 12, 'umc_permite_email' => 13, 'umc_fecha_desuscripcion_email' => 14, 'umc_movil' => 15, 'umc_customer_id' => 16, 'umc_eliminado' => 17, 'umc_permite_sms' => 18, 'created_at' => 19, 'updated_at' => 20, ), BasePeer::TYPE_FIELDNAME => array ('umc_id' => 0, 'umc_mcafee_tipo_producto' => 1, 'umc_mcafee_affid' => 2, 'umc_mcafee_ccid' => 3, 'umc_mcafee_email' => 4, 'umc_mcafee_sku' => 5, 'umc_mcafee_keycard' => 6, 'umc_mcafee_status' => 7, 'umc_movistar_activo' => 8, 'umc_movistar_any' => 9, 'umc_movistar_email' => 10, 'umc_movistar_rut' => 11, 'umc_parametro_encriptado' => 12, 'umc_permite_email' => 13, 'umc_fecha_desuscripcion_email' => 14, 'umc_movil' => 15, 'umc_fijo' => 16, 'umc_customer_id' => 17, 'umc_eliminado' => 18, 'umc_permite_sms' => 19, 'created_at' => 20, 'updated_at' => 21, ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, ) BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, )
); );
/** /**
...@@ -229,6 +232,7 @@ abstract class BaseUsuarioMcafeePeer ...@@ -229,6 +232,7 @@ abstract class BaseUsuarioMcafeePeer
$criteria->addSelectColumn(UsuarioMcafeePeer::UMC_PERMITE_EMAIL); $criteria->addSelectColumn(UsuarioMcafeePeer::UMC_PERMITE_EMAIL);
$criteria->addSelectColumn(UsuarioMcafeePeer::UMC_FECHA_DESUSCRIPCION_EMAIL); $criteria->addSelectColumn(UsuarioMcafeePeer::UMC_FECHA_DESUSCRIPCION_EMAIL);
$criteria->addSelectColumn(UsuarioMcafeePeer::UMC_MOVIL); $criteria->addSelectColumn(UsuarioMcafeePeer::UMC_MOVIL);
$criteria->addSelectColumn(UsuarioMcafeePeer::UMC_FIJO);
$criteria->addSelectColumn(UsuarioMcafeePeer::UMC_CUSTOMER_ID); $criteria->addSelectColumn(UsuarioMcafeePeer::UMC_CUSTOMER_ID);
$criteria->addSelectColumn(UsuarioMcafeePeer::UMC_ELIMINADO); $criteria->addSelectColumn(UsuarioMcafeePeer::UMC_ELIMINADO);
$criteria->addSelectColumn(UsuarioMcafeePeer::UMC_PERMITE_SMS); $criteria->addSelectColumn(UsuarioMcafeePeer::UMC_PERMITE_SMS);
...@@ -251,6 +255,7 @@ abstract class BaseUsuarioMcafeePeer ...@@ -251,6 +255,7 @@ abstract class BaseUsuarioMcafeePeer
$criteria->addSelectColumn($alias . '.umc_permite_email'); $criteria->addSelectColumn($alias . '.umc_permite_email');
$criteria->addSelectColumn($alias . '.umc_fecha_desuscripcion_email'); $criteria->addSelectColumn($alias . '.umc_fecha_desuscripcion_email');
$criteria->addSelectColumn($alias . '.umc_movil'); $criteria->addSelectColumn($alias . '.umc_movil');
$criteria->addSelectColumn($alias . '.umc_fijo');
$criteria->addSelectColumn($alias . '.umc_customer_id'); $criteria->addSelectColumn($alias . '.umc_customer_id');
$criteria->addSelectColumn($alias . '.umc_eliminado'); $criteria->addSelectColumn($alias . '.umc_eliminado');
$criteria->addSelectColumn($alias . '.umc_permite_sms'); $criteria->addSelectColumn($alias . '.umc_permite_sms');
......
...@@ -15,6 +15,7 @@ use \PropelPDO; ...@@ -15,6 +15,7 @@ use \PropelPDO;
use AppBundle\Model\EnvioEmail; use AppBundle\Model\EnvioEmail;
use AppBundle\Model\McafeeTransaccion; use AppBundle\Model\McafeeTransaccion;
use AppBundle\Model\McafeeTransaccionPendiente; use AppBundle\Model\McafeeTransaccionPendiente;
use AppBundle\Model\McafeeUltimoProcesoNormalizacion;
use AppBundle\Model\Sms; use AppBundle\Model\Sms;
use AppBundle\Model\Tracking; use AppBundle\Model\Tracking;
use AppBundle\Model\UsuarioMcafee; use AppBundle\Model\UsuarioMcafee;
...@@ -38,6 +39,7 @@ use AppBundle\Model\UsuarioMcafeeQuery; ...@@ -38,6 +39,7 @@ use AppBundle\Model\UsuarioMcafeeQuery;
* @method UsuarioMcafeeQuery orderByUmcPermiteEmail($order = Criteria::ASC) Order by the umc_permite_email column * @method UsuarioMcafeeQuery orderByUmcPermiteEmail($order = Criteria::ASC) Order by the umc_permite_email column
* @method UsuarioMcafeeQuery orderByUmcFechaDesuscripcionEmail($order = Criteria::ASC) Order by the umc_fecha_desuscripcion_email column * @method UsuarioMcafeeQuery orderByUmcFechaDesuscripcionEmail($order = Criteria::ASC) Order by the umc_fecha_desuscripcion_email column
* @method UsuarioMcafeeQuery orderByUmcMovil($order = Criteria::ASC) Order by the umc_movil column * @method UsuarioMcafeeQuery orderByUmcMovil($order = Criteria::ASC) Order by the umc_movil column
* @method UsuarioMcafeeQuery orderByUmcFijo($order = Criteria::ASC) Order by the umc_fijo column
* @method UsuarioMcafeeQuery orderByUmcCustomerId($order = Criteria::ASC) Order by the umc_customer_id column * @method UsuarioMcafeeQuery orderByUmcCustomerId($order = Criteria::ASC) Order by the umc_customer_id column
* @method UsuarioMcafeeQuery orderByUmcEliminado($order = Criteria::ASC) Order by the umc_eliminado column * @method UsuarioMcafeeQuery orderByUmcEliminado($order = Criteria::ASC) Order by the umc_eliminado column
* @method UsuarioMcafeeQuery orderByUmcPermiteSms($order = Criteria::ASC) Order by the umc_permite_sms column * @method UsuarioMcafeeQuery orderByUmcPermiteSms($order = Criteria::ASC) Order by the umc_permite_sms column
...@@ -60,6 +62,7 @@ use AppBundle\Model\UsuarioMcafeeQuery; ...@@ -60,6 +62,7 @@ use AppBundle\Model\UsuarioMcafeeQuery;
* @method UsuarioMcafeeQuery groupByUmcPermiteEmail() Group by the umc_permite_email column * @method UsuarioMcafeeQuery groupByUmcPermiteEmail() Group by the umc_permite_email column
* @method UsuarioMcafeeQuery groupByUmcFechaDesuscripcionEmail() Group by the umc_fecha_desuscripcion_email column * @method UsuarioMcafeeQuery groupByUmcFechaDesuscripcionEmail() Group by the umc_fecha_desuscripcion_email column
* @method UsuarioMcafeeQuery groupByUmcMovil() Group by the umc_movil column * @method UsuarioMcafeeQuery groupByUmcMovil() Group by the umc_movil column
* @method UsuarioMcafeeQuery groupByUmcFijo() Group by the umc_fijo column
* @method UsuarioMcafeeQuery groupByUmcCustomerId() Group by the umc_customer_id column * @method UsuarioMcafeeQuery groupByUmcCustomerId() Group by the umc_customer_id column
* @method UsuarioMcafeeQuery groupByUmcEliminado() Group by the umc_eliminado column * @method UsuarioMcafeeQuery groupByUmcEliminado() Group by the umc_eliminado column
* @method UsuarioMcafeeQuery groupByUmcPermiteSms() Group by the umc_permite_sms column * @method UsuarioMcafeeQuery groupByUmcPermiteSms() Group by the umc_permite_sms column
...@@ -82,6 +85,10 @@ use AppBundle\Model\UsuarioMcafeeQuery; ...@@ -82,6 +85,10 @@ use AppBundle\Model\UsuarioMcafeeQuery;
* @method UsuarioMcafeeQuery rightJoinMcafeeTransaccionPendiente($relationAlias = null) Adds a RIGHT JOIN clause to the query using the McafeeTransaccionPendiente relation * @method UsuarioMcafeeQuery rightJoinMcafeeTransaccionPendiente($relationAlias = null) Adds a RIGHT JOIN clause to the query using the McafeeTransaccionPendiente relation
* @method UsuarioMcafeeQuery innerJoinMcafeeTransaccionPendiente($relationAlias = null) Adds a INNER JOIN clause to the query using the McafeeTransaccionPendiente relation * @method UsuarioMcafeeQuery innerJoinMcafeeTransaccionPendiente($relationAlias = null) Adds a INNER JOIN clause to the query using the McafeeTransaccionPendiente relation
* *
* @method UsuarioMcafeeQuery leftJoinMcafeeUltimoProcesoNormalizacion($relationAlias = null) Adds a LEFT JOIN clause to the query using the McafeeUltimoProcesoNormalizacion relation
* @method UsuarioMcafeeQuery rightJoinMcafeeUltimoProcesoNormalizacion($relationAlias = null) Adds a RIGHT JOIN clause to the query using the McafeeUltimoProcesoNormalizacion relation
* @method UsuarioMcafeeQuery innerJoinMcafeeUltimoProcesoNormalizacion($relationAlias = null) Adds a INNER JOIN clause to the query using the McafeeUltimoProcesoNormalizacion relation
*
* @method UsuarioMcafeeQuery leftJoinSms($relationAlias = null) Adds a LEFT JOIN clause to the query using the Sms relation * @method UsuarioMcafeeQuery leftJoinSms($relationAlias = null) Adds a LEFT JOIN clause to the query using the Sms relation
* @method UsuarioMcafeeQuery rightJoinSms($relationAlias = null) Adds a RIGHT JOIN clause to the query using the Sms relation * @method UsuarioMcafeeQuery rightJoinSms($relationAlias = null) Adds a RIGHT JOIN clause to the query using the Sms relation
* @method UsuarioMcafeeQuery innerJoinSms($relationAlias = null) Adds a INNER JOIN clause to the query using the Sms relation * @method UsuarioMcafeeQuery innerJoinSms($relationAlias = null) Adds a INNER JOIN clause to the query using the Sms relation
...@@ -108,6 +115,7 @@ use AppBundle\Model\UsuarioMcafeeQuery; ...@@ -108,6 +115,7 @@ use AppBundle\Model\UsuarioMcafeeQuery;
* @method UsuarioMcafee findOneByUmcPermiteEmail(boolean $umc_permite_email) Return the first UsuarioMcafee filtered by the umc_permite_email column * @method UsuarioMcafee findOneByUmcPermiteEmail(boolean $umc_permite_email) Return the first UsuarioMcafee filtered by the umc_permite_email column
* @method UsuarioMcafee findOneByUmcFechaDesuscripcionEmail(string $umc_fecha_desuscripcion_email) Return the first UsuarioMcafee filtered by the umc_fecha_desuscripcion_email column * @method UsuarioMcafee findOneByUmcFechaDesuscripcionEmail(string $umc_fecha_desuscripcion_email) Return the first UsuarioMcafee filtered by the umc_fecha_desuscripcion_email column
* @method UsuarioMcafee findOneByUmcMovil(string $umc_movil) Return the first UsuarioMcafee filtered by the umc_movil column * @method UsuarioMcafee findOneByUmcMovil(string $umc_movil) Return the first UsuarioMcafee filtered by the umc_movil column
* @method UsuarioMcafee findOneByUmcFijo(string $umc_fijo) Return the first UsuarioMcafee filtered by the umc_fijo column
* @method UsuarioMcafee findOneByUmcCustomerId(string $umc_customer_id) Return the first UsuarioMcafee filtered by the umc_customer_id column * @method UsuarioMcafee findOneByUmcCustomerId(string $umc_customer_id) Return the first UsuarioMcafee filtered by the umc_customer_id column
* @method UsuarioMcafee findOneByUmcEliminado(boolean $umc_eliminado) Return the first UsuarioMcafee filtered by the umc_eliminado column * @method UsuarioMcafee findOneByUmcEliminado(boolean $umc_eliminado) Return the first UsuarioMcafee filtered by the umc_eliminado column
* @method UsuarioMcafee findOneByUmcPermiteSms(boolean $umc_permite_sms) Return the first UsuarioMcafee filtered by the umc_permite_sms column * @method UsuarioMcafee findOneByUmcPermiteSms(boolean $umc_permite_sms) Return the first UsuarioMcafee filtered by the umc_permite_sms column
...@@ -130,6 +138,7 @@ use AppBundle\Model\UsuarioMcafeeQuery; ...@@ -130,6 +138,7 @@ use AppBundle\Model\UsuarioMcafeeQuery;
* @method array findByUmcPermiteEmail(boolean $umc_permite_email) Return UsuarioMcafee objects filtered by the umc_permite_email column * @method array findByUmcPermiteEmail(boolean $umc_permite_email) Return UsuarioMcafee objects filtered by the umc_permite_email column
* @method array findByUmcFechaDesuscripcionEmail(string $umc_fecha_desuscripcion_email) Return UsuarioMcafee objects filtered by the umc_fecha_desuscripcion_email column * @method array findByUmcFechaDesuscripcionEmail(string $umc_fecha_desuscripcion_email) Return UsuarioMcafee objects filtered by the umc_fecha_desuscripcion_email column
* @method array findByUmcMovil(string $umc_movil) Return UsuarioMcafee objects filtered by the umc_movil column * @method array findByUmcMovil(string $umc_movil) Return UsuarioMcafee objects filtered by the umc_movil column
* @method array findByUmcFijo(string $umc_fijo) Return UsuarioMcafee objects filtered by the umc_fijo column
* @method array findByUmcCustomerId(string $umc_customer_id) Return UsuarioMcafee objects filtered by the umc_customer_id column * @method array findByUmcCustomerId(string $umc_customer_id) Return UsuarioMcafee objects filtered by the umc_customer_id column
* @method array findByUmcEliminado(boolean $umc_eliminado) Return UsuarioMcafee objects filtered by the umc_eliminado column * @method array findByUmcEliminado(boolean $umc_eliminado) Return UsuarioMcafee objects filtered by the umc_eliminado column
* @method array findByUmcPermiteSms(boolean $umc_permite_sms) Return UsuarioMcafee objects filtered by the umc_permite_sms column * @method array findByUmcPermiteSms(boolean $umc_permite_sms) Return UsuarioMcafee objects filtered by the umc_permite_sms column
...@@ -240,7 +249,7 @@ abstract class BaseUsuarioMcafeeQuery extends ModelCriteria ...@@ -240,7 +249,7 @@ abstract class BaseUsuarioMcafeeQuery extends ModelCriteria
*/ */
protected function findPkSimple($key, $con) protected function findPkSimple($key, $con)
{ {
$sql = 'SELECT `umc_id`, `umc_mcafee_tipo_producto`, `umc_mcafee_affid`, `umc_mcafee_ccid`, `umc_mcafee_email`, `umc_mcafee_sku`, `umc_mcafee_keycard`, `umc_mcafee_status`, `umc_movistar_activo`, `umc_movistar_any`, `umc_movistar_email`, `umc_movistar_rut`, `umc_parametro_encriptado`, `umc_permite_email`, `umc_fecha_desuscripcion_email`, `umc_movil`, `umc_customer_id`, `umc_eliminado`, `umc_permite_sms`, `created_at`, `updated_at` FROM `usuario_mcafee` WHERE `umc_id` = :p0'; $sql = 'SELECT `umc_id`, `umc_mcafee_tipo_producto`, `umc_mcafee_affid`, `umc_mcafee_ccid`, `umc_mcafee_email`, `umc_mcafee_sku`, `umc_mcafee_keycard`, `umc_mcafee_status`, `umc_movistar_activo`, `umc_movistar_any`, `umc_movistar_email`, `umc_movistar_rut`, `umc_parametro_encriptado`, `umc_permite_email`, `umc_fecha_desuscripcion_email`, `umc_movil`, `umc_fijo`, `umc_customer_id`, `umc_eliminado`, `umc_permite_sms`, `created_at`, `updated_at` FROM `usuario_mcafee` WHERE `umc_id` = :p0';
try { try {
$stmt = $con->prepare($sql); $stmt = $con->prepare($sql);
$stmt->bindValue(':p0', $key, PDO::PARAM_INT); $stmt->bindValue(':p0', $key, PDO::PARAM_INT);
...@@ -842,6 +851,35 @@ abstract class BaseUsuarioMcafeeQuery extends ModelCriteria ...@@ -842,6 +851,35 @@ abstract class BaseUsuarioMcafeeQuery extends ModelCriteria
return $this->addUsingAlias(UsuarioMcafeePeer::UMC_MOVIL, $umcMovil, $comparison); return $this->addUsingAlias(UsuarioMcafeePeer::UMC_MOVIL, $umcMovil, $comparison);
} }
/**
* Filter the query on the umc_fijo column
*
* Example usage:
* <code>
* $query->filterByUmcFijo('fooValue'); // WHERE umc_fijo = 'fooValue'
* $query->filterByUmcFijo('%fooValue%'); // WHERE umc_fijo LIKE '%fooValue%'
* </code>
*
* @param string $umcFijo The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
*
* @return UsuarioMcafeeQuery The current query, for fluid interface
*/
public function filterByUmcFijo($umcFijo = null, $comparison = null)
{
if (null === $comparison) {
if (is_array($umcFijo)) {
$comparison = Criteria::IN;
} elseif (preg_match('/[\%\*]/', $umcFijo)) {
$umcFijo = str_replace('*', '%', $umcFijo);
$comparison = Criteria::LIKE;
}
}
return $this->addUsingAlias(UsuarioMcafeePeer::UMC_FIJO, $umcFijo, $comparison);
}
/** /**
* Filter the query on the umc_customer_id column * Filter the query on the umc_customer_id column
* *
...@@ -1233,6 +1271,80 @@ abstract class BaseUsuarioMcafeeQuery extends ModelCriteria ...@@ -1233,6 +1271,80 @@ abstract class BaseUsuarioMcafeeQuery extends ModelCriteria
->useQuery($relationAlias ? $relationAlias : 'McafeeTransaccionPendiente', '\AppBundle\Model\McafeeTransaccionPendienteQuery'); ->useQuery($relationAlias ? $relationAlias : 'McafeeTransaccionPendiente', '\AppBundle\Model\McafeeTransaccionPendienteQuery');
} }
/**
* Filter the query by a related McafeeUltimoProcesoNormalizacion object
*
* @param McafeeUltimoProcesoNormalizacion|PropelObjectCollection $mcafeeUltimoProcesoNormalizacion the related object to use as filter
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
*
* @return UsuarioMcafeeQuery The current query, for fluid interface
* @throws PropelException - if the provided filter is invalid.
*/
public function filterByMcafeeUltimoProcesoNormalizacion($mcafeeUltimoProcesoNormalizacion, $comparison = null)
{
if ($mcafeeUltimoProcesoNormalizacion instanceof McafeeUltimoProcesoNormalizacion) {
return $this
->addUsingAlias(UsuarioMcafeePeer::UMC_ID, $mcafeeUltimoProcesoNormalizacion->getUltimoUmcId(), $comparison);
} elseif ($mcafeeUltimoProcesoNormalizacion instanceof PropelObjectCollection) {
return $this
->useMcafeeUltimoProcesoNormalizacionQuery()
->filterByPrimaryKeys($mcafeeUltimoProcesoNormalizacion->getPrimaryKeys())
->endUse();
} else {
throw new PropelException('filterByMcafeeUltimoProcesoNormalizacion() only accepts arguments of type McafeeUltimoProcesoNormalizacion or PropelCollection');
}
}
/**
* Adds a JOIN clause to the query using the McafeeUltimoProcesoNormalizacion relation
*
* @param string $relationAlias optional alias for the relation
* @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
*
* @return UsuarioMcafeeQuery The current query, for fluid interface
*/
public function joinMcafeeUltimoProcesoNormalizacion($relationAlias = null, $joinType = Criteria::LEFT_JOIN)
{
$tableMap = $this->getTableMap();
$relationMap = $tableMap->getRelation('McafeeUltimoProcesoNormalizacion');
// create a ModelJoin object for this join
$join = new ModelJoin();
$join->setJoinType($joinType);
$join->setRelationMap($relationMap, $this->useAliasInSQL ? $this->getModelAlias() : null, $relationAlias);
if ($previousJoin = $this->getPreviousJoin()) {
$join->setPreviousJoin($previousJoin);
}
// add the ModelJoin to the current object
if ($relationAlias) {
$this->addAlias($relationAlias, $relationMap->getRightTable()->getName());
$this->addJoinObject($join, $relationAlias);
} else {
$this->addJoinObject($join, 'McafeeUltimoProcesoNormalizacion');
}
return $this;
}
/**
* Use the McafeeUltimoProcesoNormalizacion relation McafeeUltimoProcesoNormalizacion object
*
* @see useQuery()
*
* @param string $relationAlias optional alias for the relation,
* to be used as main alias in the secondary query
* @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
*
* @return \AppBundle\Model\McafeeUltimoProcesoNormalizacionQuery A secondary query class using the current class as primary query
*/
public function useMcafeeUltimoProcesoNormalizacionQuery($relationAlias = null, $joinType = Criteria::LEFT_JOIN)
{
return $this
->joinMcafeeUltimoProcesoNormalizacion($relationAlias, $joinType)
->useQuery($relationAlias ? $relationAlias : 'McafeeUltimoProcesoNormalizacion', '\AppBundle\Model\McafeeUltimoProcesoNormalizacionQuery');
}
/** /**
* Filter the query by a related Sms object * Filter the query by a related Sms object
* *
...@@ -1397,4 +1509,69 @@ abstract class BaseUsuarioMcafeeQuery extends ModelCriteria ...@@ -1397,4 +1509,69 @@ abstract class BaseUsuarioMcafeeQuery extends ModelCriteria
return $this; return $this;
} }
// timestampable behavior
/**
* Filter by the latest updated
*
* @param int $nbDays Maximum age of the latest update in days
*
* @return UsuarioMcafeeQuery The current query, for fluid interface
*/
public function recentlyUpdated($nbDays = 7)
{
return $this->addUsingAlias(UsuarioMcafeePeer::UPDATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by update date desc
*
* @return UsuarioMcafeeQuery The current query, for fluid interface
*/
public function lastUpdatedFirst()
{
return $this->addDescendingOrderByColumn(UsuarioMcafeePeer::UPDATED_AT);
}
/**
* Order by update date asc
*
* @return UsuarioMcafeeQuery The current query, for fluid interface
*/
public function firstUpdatedFirst()
{
return $this->addAscendingOrderByColumn(UsuarioMcafeePeer::UPDATED_AT);
}
/**
* Filter by the latest created
*
* @param int $nbDays Maximum age of in days
*
* @return UsuarioMcafeeQuery The current query, for fluid interface
*/
public function recentlyCreated($nbDays = 7)
{
return $this->addUsingAlias(UsuarioMcafeePeer::CREATED_AT, time() - $nbDays * 24 * 60 * 60, Criteria::GREATER_EQUAL);
}
/**
* Order by create date desc
*
* @return UsuarioMcafeeQuery The current query, for fluid interface
*/
public function lastCreatedFirst()
{
return $this->addDescendingOrderByColumn(UsuarioMcafeePeer::CREATED_AT);
}
/**
* Order by create date asc
*
* @return UsuarioMcafeeQuery The current query, for fluid interface
*/
public function firstCreatedFirst()
{
return $this->addAscendingOrderByColumn(UsuarioMcafeePeer::CREATED_AT);
}
} }
...@@ -10,8 +10,7 @@ ...@@ -10,8 +10,7 @@
<column name="awe_clave" phpName="AweClave" type="VARCHAR" size="100" required="false"/> <column name="awe_clave" phpName="AweClave" type="VARCHAR" size="100" required="false"/>
<column name="awe_estado" phpName="AweEstado" type="SMALLINT" required="false"/> <column name="awe_estado" phpName="AweEstado" type="SMALLINT" required="false"/>
<column name="awe_eliminado" phpName="AweEliminado" type="CHAR" size="10" required="false"/> <column name="awe_eliminado" phpName="AweEliminado" type="CHAR" size="10" required="false"/>
<column name="created_at" phpName="CreatedAt" type="TIMESTAMP" required="false"/> <behavior name="timestampable" />
<column name="updated_at" phpName="UpdatedAt" type="TIMESTAMP" required="false"/>
<vendor type="mysql"> <vendor type="mysql">
<parameter name="Engine" value="InnoDB"/> <parameter name="Engine" value="InnoDB"/>
</vendor> </vendor>
...@@ -31,8 +30,7 @@ ...@@ -31,8 +30,7 @@
<column name="bus_nombres" phpName="BusNombres" type="VARCHAR" size="100" required="false"/> <column name="bus_nombres" phpName="BusNombres" type="VARCHAR" size="100" required="false"/>
<column name="bus_estado" phpName="BusEstado" type="SMALLINT" required="false"/> <column name="bus_estado" phpName="BusEstado" type="SMALLINT" required="false"/>
<column name="bus_eliminado" phpName="BusEliminado" type="BOOLEAN" size="1" required="false" defaultValue="false"/> <column name="bus_eliminado" phpName="BusEliminado" type="BOOLEAN" size="1" required="false" defaultValue="false"/>
<column name="created_at" phpName="CreatedAt" type="TIMESTAMP" required="false"/> <behavior name="timestampable" />
<column name="updated_at" phpName="UpdatedAt" type="TIMESTAMP" required="false"/>
<vendor type="mysql"> <vendor type="mysql">
<parameter name="Engine" value="InnoDB"/> <parameter name="Engine" value="InnoDB"/>
</vendor> </vendor>
...@@ -40,8 +38,7 @@ ...@@ -40,8 +38,7 @@
<table name="backendusuario_backendrol" phpName="BackendusuarioBackendrol" idMethod="native"> <table name="backendusuario_backendrol" phpName="BackendusuarioBackendrol" idMethod="native">
<column name="bro_id" phpName="BroId" type="INTEGER" primaryKey="true" required="true"/> <column name="bro_id" phpName="BroId" type="INTEGER" primaryKey="true" required="true"/>
<column name="bus_id" phpName="BusId" type="INTEGER" primaryKey="true" required="true"/> <column name="bus_id" phpName="BusId" type="INTEGER" primaryKey="true" required="true"/>
<column name="created_at" phpName="CreatedAt" type="TIMESTAMP" required="false"/> <behavior name="timestampable" />
<column name="updated_at" phpName="UpdatedAt" type="TIMESTAMP" required="false"/>
<foreign-key foreignTable="backend_rol" name="fk_backendusuario_backendrol" onDelete="RESTRICT" onUpdate="RESTRICT"> <foreign-key foreignTable="backend_rol" name="fk_backendusuario_backendrol" onDelete="RESTRICT" onUpdate="RESTRICT">
<reference local="bro_id" foreign="bro_id"/> <reference local="bro_id" foreign="bro_id"/>
</foreign-key> </foreign-key>
...@@ -72,19 +69,7 @@ ...@@ -72,19 +69,7 @@
<column name="batchsms_bounce" phpName="BatchsmsBounce" type="INTEGER" required="false"/> <column name="batchsms_bounce" phpName="BatchsmsBounce" type="INTEGER" required="false"/>
<column name="batchsms_complaint" phpName="BatchsmsComplaint" type="INTEGER" required="false"/> <column name="batchsms_complaint" phpName="BatchsmsComplaint" type="INTEGER" required="false"/>
<column name="batchsms_eliminado" phpName="BatchsmsEliminado" type="BOOLEAN" size="1" required="false"/> <column name="batchsms_eliminado" phpName="BatchsmsEliminado" type="BOOLEAN" size="1" required="false"/>
<column name="created_at" phpName="CreatedAt" type="TIMESTAMP" required="false"/> <behavior name="timestampable" />
<column name="updated_at" phpName="UpdatedAt" type="TIMESTAMP" required="false"/>
<vendor type="mysql">
<parameter name="Engine" value="InnoDB"/>
</vendor>
</table>
<table name="campaign" phpName="Campaign" idMethod="native">
<column name="ca_id" phpName="CaId" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="ca_mensaje" phpName="CaMensaje" type="LONGVARCHAR" required="true"/>
<column name="ca_estado" phpName="CaEstado" type="BOOLEAN" size="1" required="true" defaultValue="false"/>
<column name="ca_eliminado" phpName="CaEliminado" type="BOOLEAN" size="1" required="true" defaultValue="false"/>
<column name="created_at" phpName="CreatedAt" type="TIMESTAMP" required="false"/>
<column name="updated_at" phpName="UpdatedAt" type="TIMESTAMP" required="false"/>
<vendor type="mysql"> <vendor type="mysql">
<parameter name="Engine" value="InnoDB"/> <parameter name="Engine" value="InnoDB"/>
</vendor> </vendor>
...@@ -106,8 +91,7 @@ ...@@ -106,8 +91,7 @@
<column name="ema_bounce" phpName="EmaBounce" type="INTEGER" required="false"/> <column name="ema_bounce" phpName="EmaBounce" type="INTEGER" required="false"/>
<column name="ema_complaint" phpName="EmaComplaint" type="INTEGER" required="false"/> <column name="ema_complaint" phpName="EmaComplaint" type="INTEGER" required="false"/>
<column name="ema_eliminado" phpName="EmaEliminado" type="BOOLEAN" size="1" required="false"/> <column name="ema_eliminado" phpName="EmaEliminado" type="BOOLEAN" size="1" required="false"/>
<column name="created_at" phpName="CreatedAt" type="TIMESTAMP" required="false"/> <behavior name="timestampable" />
<column name="updated_at" phpName="UpdatedAt" type="TIMESTAMP" required="false"/>
<vendor type="mysql"> <vendor type="mysql">
<parameter name="Engine" value="InnoDB"/> <parameter name="Engine" value="InnoDB"/>
</vendor> </vendor>
...@@ -127,8 +111,7 @@ ...@@ -127,8 +111,7 @@
<column name="eem_from_asunto" phpName="EemFromAsunto" type="VARCHAR" size="50" required="false"/> <column name="eem_from_asunto" phpName="EemFromAsunto" type="VARCHAR" size="50" required="false"/>
<column name="eem_estado" phpName="EemEstado" type="SMALLINT" required="false"/> <column name="eem_estado" phpName="EemEstado" type="SMALLINT" required="false"/>
<column name="eem_eliminado" phpName="EemEliminado" type="BOOLEAN" size="1" required="false"/> <column name="eem_eliminado" phpName="EemEliminado" type="BOOLEAN" size="1" required="false"/>
<column name="created_at" phpName="CreatedAt" type="TIMESTAMP" required="false"/> <behavior name="timestampable" />
<column name="updated_at" phpName="UpdatedAt" type="TIMESTAMP" required="false"/>
<foreign-key foreignTable="emailing" name="fk_emailing_envioemail" onDelete="RESTRICT" onUpdate="RESTRICT"> <foreign-key foreignTable="emailing" name="fk_emailing_envioemail" onDelete="RESTRICT" onUpdate="RESTRICT">
<reference local="ema_id" foreign="ema_id"/> <reference local="ema_id" foreign="ema_id"/>
</foreign-key> </foreign-key>
...@@ -157,8 +140,7 @@ ...@@ -157,8 +140,7 @@
<column name="mtr_estado" phpName="MtrEstado" type="SMALLINT" required="false"/> <column name="mtr_estado" phpName="MtrEstado" type="SMALLINT" required="false"/>
<column name="mtr_productdownloadurl" phpName="MtrProductdownloadurl" type="VARCHAR" size="250" required="false"/> <column name="mtr_productdownloadurl" phpName="MtrProductdownloadurl" type="VARCHAR" size="250" required="false"/>
<column name="mtr_short_productdownloadurl" phpName="MtrShortProductdownloadurl" type="VARCHAR" size="40" required="false"/> <column name="mtr_short_productdownloadurl" phpName="MtrShortProductdownloadurl" type="VARCHAR" size="40" required="false"/>
<column name="created_at" phpName="CreatedAt" type="TIMESTAMP" required="false"/> <behavior name="timestampable" />
<column name="updated_at" phpName="UpdatedAt" type="TIMESTAMP" required="false"/>
<foreign-key foreignTable="usuario_mcafee" name="fk_usuario_mcafeetransaccion" onDelete="RESTRICT" onUpdate="RESTRICT"> <foreign-key foreignTable="usuario_mcafee" name="fk_usuario_mcafeetransaccion" onDelete="RESTRICT" onUpdate="RESTRICT">
<reference local="umc_id" foreign="umc_id"/> <reference local="umc_id" foreign="umc_id"/>
</foreign-key> </foreign-key>
...@@ -175,8 +157,7 @@ ...@@ -175,8 +157,7 @@
<column name="mtp_tipo" phpName="MtpTipo" type="SMALLINT" required="false"/> <column name="mtp_tipo" phpName="MtpTipo" type="SMALLINT" required="false"/>
<column name="mtp_estado" phpName="MtpEstado" type="SMALLINT" required="false"/> <column name="mtp_estado" phpName="MtpEstado" type="SMALLINT" required="false"/>
<column name="mtp_intento" phpName="MtpIntento" type="SMALLINT" required="false"/> <column name="mtp_intento" phpName="MtpIntento" type="SMALLINT" required="false"/>
<column name="created_at" phpName="CreatedAt" type="TIMESTAMP" required="false"/> <behavior name="timestampable" />
<column name="updated_at" phpName="UpdatedAt" type="TIMESTAMP" required="false"/>
<foreign-key foreignTable="usuario_mcafee" name="fk_suscripcion_mcafeetransaccionpendiente" onDelete="RESTRICT" onUpdate="RESTRICT"> <foreign-key foreignTable="usuario_mcafee" name="fk_suscripcion_mcafeetransaccionpendiente" onDelete="RESTRICT" onUpdate="RESTRICT">
<reference local="umc_id" foreign="umc_id"/> <reference local="umc_id" foreign="umc_id"/>
</foreign-key> </foreign-key>
...@@ -187,13 +168,28 @@ ...@@ -187,13 +168,28 @@
<parameter name="Engine" value="InnoDB"/> <parameter name="Engine" value="InnoDB"/>
</vendor> </vendor>
</table> </table>
<table name="mcafee_ultimo_proceso_creacion" phpName="McafeeUltimoProcesoCreacion" idMethod="native">
<column name="muc_id" phpName="MucId" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="ultimo_umn_id" phpName="UltimoUmnId" type="INTEGER" required="false"/>
<column name="muc_cantidad_procesados" phpName="MucCantidadProcesados" type="INTEGER" required="false"/>
<column name="muc_cantidad_pendientes" phpName="MucCantidadPendientes" type="INTEGER" required="false"/>
<behavior name="timestampable" />
<foreign-key foreignTable="usuarios_mcafee_movistar_nuevos" name="fk_idx_usuario_movistar_nuevo" onDelete="RESTRICT" onUpdate="RESTRICT">
<reference local="ultimo_umn_id" foreign="id"/>
</foreign-key>
<index name="fk_idx_usuario_movistar_nuevo_idx">
<index-column name="ultimo_umn_id"/>
</index>
<vendor type="mysql">
<parameter name="Engine" value="InnoDB"/>
</vendor>
</table>
<table name="mcafee_ultimo_proceso_migracion" phpName="McafeeUltimoProcesoMigracion" idMethod="native"> <table name="mcafee_ultimo_proceso_migracion" phpName="McafeeUltimoProcesoMigracion" idMethod="native">
<column name="mup_id" phpName="MupId" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/> <column name="mup_id" phpName="MupId" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="ultimo_umc_id" phpName="UltimoUmcId" type="INTEGER" required="true"/> <column name="ultimo_umc_id" phpName="UltimoUmcId" type="INTEGER" required="true"/>
<column name="mup_cantidad_procesados" phpName="MupCantidadProcesados" type="INTEGER" required="false"/> <column name="mup_cantidad_procesados" phpName="MupCantidadProcesados" type="INTEGER" required="false"/>
<column name="mup_cantidad_pendientes" phpName="MupCantidadPendientes" type="INTEGER" required="false"/> <column name="mup_cantidad_pendientes" phpName="MupCantidadPendientes" type="INTEGER" required="false"/>
<column name="created_at" phpName="CreatedAt" type="TIMESTAMP" required="false"/> <behavior name="timestampable" />
<column name="updated_at" phpName="UpdatedAt" type="TIMESTAMP" required="false"/>
<foreign-key foreignTable="usuarios_mcafee_movistar_migrar" name="idx_fk_mcafee_ultimo_usuario" onDelete="RESTRICT" onUpdate="RESTRICT"> <foreign-key foreignTable="usuarios_mcafee_movistar_migrar" name="idx_fk_mcafee_ultimo_usuario" onDelete="RESTRICT" onUpdate="RESTRICT">
<reference local="ultimo_umc_id" foreign="id"/> <reference local="ultimo_umc_id" foreign="id"/>
</foreign-key> </foreign-key>
...@@ -204,6 +200,22 @@ ...@@ -204,6 +200,22 @@
<parameter name="Engine" value="InnoDB"/> <parameter name="Engine" value="InnoDB"/>
</vendor> </vendor>
</table> </table>
<table name="mcafee_ultimo_proceso_normalizacion" phpName="McafeeUltimoProcesoNormalizacion" idMethod="native">
<column name="mun_id" phpName="MunId" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="ultimo_umc_id" phpName="UltimoUmcId" type="INTEGER" required="false"/>
<column name="mun_cantidad_procesados" phpName="MunCantidadProcesados" type="INTEGER" required="false"/>
<column name="mun_cantidad_pendientes" phpName="MunCantidadPendientes" type="INTEGER" required="false"/>
<behavior name="timestampable" />
<foreign-key foreignTable="usuario_mcafee" name="fk_ultimo_umc_id_normla" onDelete="RESTRICT" onUpdate="RESTRICT">
<reference local="ultimo_umc_id" foreign="umc_id"/>
</foreign-key>
<index name="fk_ultimo_umc_id_normla_idx">
<index-column name="ultimo_umc_id"/>
</index>
<vendor type="mysql">
<parameter name="Engine" value="InnoDB"/>
</vendor>
</table>
<table name="notificacion_email" phpName="NotificacionEmail" idMethod="native"> <table name="notificacion_email" phpName="NotificacionEmail" idMethod="native">
<column name="nem_id" phpName="NemId" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/> <column name="nem_id" phpName="NemId" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="eem_id" phpName="EemId" type="INTEGER" required="false"/> <column name="eem_id" phpName="EemId" type="INTEGER" required="false"/>
...@@ -226,8 +238,7 @@ ...@@ -226,8 +238,7 @@
<column name="nem_complaint_timestamp" phpName="NemComplaintTimestamp" type="TIMESTAMP" required="false"/> <column name="nem_complaint_timestamp" phpName="NemComplaintTimestamp" type="TIMESTAMP" required="false"/>
<column name="nem_eliminado" phpName="NemEliminado" type="BOOLEAN" size="1" required="false"/> <column name="nem_eliminado" phpName="NemEliminado" type="BOOLEAN" size="1" required="false"/>
<column name="nem_notificacion" phpName="NemNotificacion" type="LONGVARCHAR" required="false"/> <column name="nem_notificacion" phpName="NemNotificacion" type="LONGVARCHAR" required="false"/>
<column name="created_at" phpName="CreatedAt" type="TIMESTAMP" required="false"/> <behavior name="timestampable" />
<column name="updated_at" phpName="UpdatedAt" type="TIMESTAMP" required="false"/>
<foreign-key foreignTable="envio_email" name="fk_envioemail_notificationemail" onDelete="RESTRICT" onUpdate="RESTRICT"> <foreign-key foreignTable="envio_email" name="fk_envioemail_notificationemail" onDelete="RESTRICT" onUpdate="RESTRICT">
<reference local="eem_id" foreign="eem_id"/> <reference local="eem_id" foreign="eem_id"/>
</foreign-key> </foreign-key>
...@@ -261,8 +272,7 @@ ...@@ -261,8 +272,7 @@
<column name="sms_from_mensaje" phpName="SmsFromMensaje" type="VARCHAR" size="160" required="false"/> <column name="sms_from_mensaje" phpName="SmsFromMensaje" type="VARCHAR" size="160" required="false"/>
<column name="sms_estado" phpName="SmsEstado" type="SMALLINT" required="false"/> <column name="sms_estado" phpName="SmsEstado" type="SMALLINT" required="false"/>
<column name="sms_eliminado" phpName="SmsEliminado" type="BOOLEAN" size="1" required="false"/> <column name="sms_eliminado" phpName="SmsEliminado" type="BOOLEAN" size="1" required="false"/>
<column name="created_at" phpName="CreatedAt" type="TIMESTAMP" required="false"/> <behavior name="timestampable" />
<column name="updated_at" phpName="UpdatedAt" type="TIMESTAMP" required="false"/>
<foreign-key foreignTable="batchsms" name="fk_batchsms" onDelete="RESTRICT" onUpdate="RESTRICT"> <foreign-key foreignTable="batchsms" name="fk_batchsms" onDelete="RESTRICT" onUpdate="RESTRICT">
<reference local="batchsms_id" foreign="batchsms_id"/> <reference local="batchsms_id" foreign="batchsms_id"/>
</foreign-key> </foreign-key>
...@@ -293,8 +303,7 @@ ...@@ -293,8 +303,7 @@
<column name="tra_campana" phpName="TraCampana" type="VARCHAR" size="20" required="false"/> <column name="tra_campana" phpName="TraCampana" type="VARCHAR" size="20" required="false"/>
<column name="tra_eliminado" phpName="TraEliminado" type="BOOLEAN" size="1" required="false"/> <column name="tra_eliminado" phpName="TraEliminado" type="BOOLEAN" size="1" required="false"/>
<column name="tra_tipo_dispositivo" phpName="TraTipoDispositivo" type="SMALLINT" required="false"/> <column name="tra_tipo_dispositivo" phpName="TraTipoDispositivo" type="SMALLINT" required="false"/>
<column name="created_at" phpName="CreatedAt" type="TIMESTAMP" required="false"/> <behavior name="timestampable" />
<column name="updated_at" phpName="UpdatedAt" type="TIMESTAMP" required="false"/>
<foreign-key foreignTable="envio_email" name="fk_envioemail_tracking" onDelete="RESTRICT" onUpdate="RESTRICT"> <foreign-key foreignTable="envio_email" name="fk_envioemail_tracking" onDelete="RESTRICT" onUpdate="RESTRICT">
<reference local="eem_id" foreign="eem_id"/> <reference local="eem_id" foreign="eem_id"/>
</foreign-key> </foreign-key>
...@@ -331,14 +340,20 @@ ...@@ -331,14 +340,20 @@
<column name="umc_permite_email" phpName="UmcPermiteEmail" type="BOOLEAN" size="1" required="false" defaultValue="true"/> <column name="umc_permite_email" phpName="UmcPermiteEmail" type="BOOLEAN" size="1" required="false" defaultValue="true"/>
<column name="umc_fecha_desuscripcion_email" phpName="UmcFechaDesuscripcionEmail" type="TIMESTAMP" required="false"/> <column name="umc_fecha_desuscripcion_email" phpName="UmcFechaDesuscripcionEmail" type="TIMESTAMP" required="false"/>
<column name="umc_movil" phpName="UmcMovil" type="VARCHAR" size="200" required="false"/> <column name="umc_movil" phpName="UmcMovil" type="VARCHAR" size="200" required="false"/>
<column name="umc_fijo" phpName="UmcFijo" type="VARCHAR" size="200" required="false"/>
<column name="umc_customer_id" phpName="UmcCustomerId" type="VARCHAR" size="250" required="false"/> <column name="umc_customer_id" phpName="UmcCustomerId" type="VARCHAR" size="250" required="false"/>
<column name="umc_eliminado" phpName="UmcEliminado" type="BOOLEAN" size="1" required="false"/> <column name="umc_eliminado" phpName="UmcEliminado" type="BOOLEAN" size="1" required="false"/>
<column name="umc_permite_sms" phpName="UmcPermiteSms" type="BOOLEAN" size="1" required="true" defaultValue="true"/> <column name="umc_permite_sms" phpName="UmcPermiteSms" type="BOOLEAN" size="1" required="true" defaultValue="true"/>
<column name="created_at" phpName="CreatedAt" type="TIMESTAMP" required="false"/> <behavior name="timestampable" />
<column name="updated_at" phpName="UpdatedAt" type="TIMESTAMP" required="false"/>
<index name="indice_umc_movistar_any"> <index name="indice_umc_movistar_any">
<index-column name="umc_movistar_any"/> <index-column name="umc_movistar_any"/>
</index> </index>
<index name="indice_fecha_creacion">
<index-column name="created_at"/>
</index>
<index name="indice_mcafee_mail">
<index-column name="umc_mcafee_email"/>
</index>
<vendor type="mysql"> <vendor type="mysql">
<parameter name="Engine" value="InnoDB"/> <parameter name="Engine" value="InnoDB"/>
</vendor> </vendor>
...@@ -380,6 +395,35 @@ ...@@ -380,6 +395,35 @@
<index name="ccid"> <index name="ccid">
<index-column name="Ccid"/> <index-column name="Ccid"/>
</index> </index>
<index name="correo">
<index-column name="Email_Address"/>
</index>
<index name="activty">
<index-column name="License_Activity"/>
</index>
<index name="tipo">
<index-column name="Device_Type"/>
</index>
<vendor type="mysql">
<parameter name="Engine" value="InnoDB"/>
</vendor>
</table>
<table name="usuarios_mcafee_movistar_nuevos" phpName="UsuariosMcafeeMovistarNuevos" idMethod="native">
<column name="id" phpName="Id" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="id_mov" phpName="IdMov" type="INTEGER" required="true" defaultValue="0"/>
<column name="area_tel" phpName="AreaTel" type="INTEGER" required="false"/>
<column name="rut" phpName="Rut" type="INTEGER" required="false"/>
<column name="nombres" phpName="Nombres" type="VARCHAR" size="45" required="false"/>
<column name="correo" phpName="Correo" type="VARCHAR" size="64" required="false"/>
<column name="fono_contacto_fijo_1" phpName="FonoContactoFijo1" type="INTEGER" required="false"/>
<column name="fono_contacto_fijo_2" phpName="FonoContactoFijo2" type="INTEGER" required="false"/>
<column name="fono_contacto_movil_1" phpName="FonoContactoMovil1" type="INTEGER" required="false"/>
<column name="fono_contacto_movil_2" phpName="FonoContactoMovil2" type="INTEGER" required="false"/>
<column name="ps_6094" phpName="Ps6094" type="INTEGER" required="false"/>
<column name="ps_5679" phpName="Ps5679" type="INTEGER" required="false"/>
<column name="ps_2989" phpName="Ps2989" type="INTEGER" required="false"/>
<column name="ps_6753" phpName="Ps6753" type="INTEGER" required="false"/>
<column name="ps_6759" phpName="Ps6759" type="INTEGER" required="false"/>
<vendor type="mysql"> <vendor type="mysql">
<parameter name="Engine" value="InnoDB"/> <parameter name="Engine" value="InnoDB"/>
</vendor> </vendor>
......
https://www.seguridadtotalmcafee.cl/portal/7/MDY3MjUyNDA4MDAwMDY3NTN8MDUxMDIyNjE0MjlATVVMVElERVZJQ0VNQ0FGRUUzLkNM
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment