Modelos

parent cba7c918
<?php
namespace AppBundle\Model;
use AppBundle\Model\om\BaseEnvioCorreoUsuario;
class EnvioCorreoUsuario extends BaseEnvioCorreoUsuario
{
}
<?php
namespace AppBundle\Model;
use AppBundle\Model\om\BaseEnvioCorreoUsuarioPeer;
class EnvioCorreoUsuarioPeer extends BaseEnvioCorreoUsuarioPeer
{
}
<?php
namespace AppBundle\Model;
use AppBundle\Model\om\BaseEnvioCorreoUsuarioQuery;
class EnvioCorreoUsuarioQuery extends BaseEnvioCorreoUsuarioQuery
{
}
<?php
namespace AppBundle\Model;
use AppBundle\Model\om\BaseParametroConfiguracion;
class ParametroConfiguracion extends BaseParametroConfiguracion
{
}
<?php
namespace AppBundle\Model;
use AppBundle\Model\om\BaseParametroConfiguracionPeer;
class ParametroConfiguracionPeer extends BaseParametroConfiguracionPeer
{
}
<?php
namespace AppBundle\Model;
use AppBundle\Model\om\BaseParametroConfiguracionQuery;
class ParametroConfiguracionQuery extends BaseParametroConfiguracionQuery
{
}
<?php
namespace AppBundle\Model;
use AppBundle\Model\om\BaseUsuarioNutrapharm;
class UsuarioNutrapharm extends BaseUsuarioNutrapharm
{
}
<?php
namespace AppBundle\Model;
use AppBundle\Model\om\BaseUsuarioNutrapharmPeer;
class UsuarioNutrapharmPeer extends BaseUsuarioNutrapharmPeer
{
}
<?php
namespace AppBundle\Model;
use AppBundle\Model\om\BaseUsuarioNutrapharmQuery;
class UsuarioNutrapharmQuery extends BaseUsuarioNutrapharmQuery
{
}
<?php
namespace AppBundle\Model\map;
use \RelationMap;
use \TableMap;
/**
* This class defines the structure of the 'envio_correo_usuario' table.
*
*
*
* This map class is used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column used in an
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type).
*
* @package propel.generator.src.AppBundle.Model.map
*/
class EnvioCorreoUsuarioTableMap extends TableMap
{
/**
* The (dot-path) name of this class
*/
const CLASS_NAME = 'src.AppBundle.Model.map.EnvioCorreoUsuarioTableMap';
/**
* Initialize the table attributes, columns and validators
* Relations are not initialized by this method since they are lazy loaded
*
* @return void
* @throws PropelException
*/
public function initialize()
{
// attributes
$this->setName('envio_correo_usuario');
$this->setPhpName('EnvioCorreoUsuario');
$this->setClassname('AppBundle\\Model\\EnvioCorreoUsuario');
$this->setPackage('src.AppBundle.Model');
$this->setUseIdGenerator(false);
// columns
$this->addPrimaryKey('ecu_id', 'EcuId', 'INTEGER', true, null, null);
$this->addForeignKey('unu_id', 'UnuId', 'INTEGER', 'usuario_nutrapharm', 'unu_id', true, null, null);
$this->addColumn('ecu_estado', 'EcuEstado', 'INTEGER', false, 6, null);
$this->addColumn('created_at', 'CreatedAt', 'TIMESTAMP', false, null, null);
$this->addColumn('updated_at', 'UpdatedAt', 'TIMESTAMP', false, null, null);
// validators
} // initialize()
/**
* Build the RelationMap objects for this table relationships
*/
public function buildRelations()
{
$this->addRelation('UsuarioNutrapharm', 'AppBundle\\Model\\UsuarioNutrapharm', RelationMap::MANY_TO_ONE, array('unu_id' => 'unu_id', ), null, null);
} // 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()
} // EnvioCorreoUsuarioTableMap
<?php
namespace AppBundle\Model\map;
use \RelationMap;
use \TableMap;
/**
* This class defines the structure of the 'parametro_configuracion' table.
*
*
*
* This map class is used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column used in an
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type).
*
* @package propel.generator.src.AppBundle.Model.map
*/
class ParametroConfiguracionTableMap extends TableMap
{
/**
* The (dot-path) name of this class
*/
const CLASS_NAME = 'src.AppBundle.Model.map.ParametroConfiguracionTableMap';
/**
* Initialize the table attributes, columns and validators
* Relations are not initialized by this method since they are lazy loaded
*
* @return void
* @throws PropelException
*/
public function initialize()
{
// attributes
$this->setName('parametro_configuracion');
$this->setPhpName('ParametroConfiguracion');
$this->setClassname('AppBundle\\Model\\ParametroConfiguracion');
$this->setPackage('src.AppBundle.Model');
$this->setUseIdGenerator(true);
// columns
$this->addPrimaryKey('pco_id', 'PcoId', 'INTEGER', true, null, null);
$this->addColumn('pco_nombre', 'PcoNombre', 'VARCHAR', false, 250, null);
$this->addColumn('pco_valor', 'PcoValor', 'VARCHAR', false, 1000, null);
$this->addColumn('pco_descripcion', 'PcoDescripcion', 'VARCHAR', false, 1000, null);
// validators
} // initialize()
/**
* Build the RelationMap objects for this table relationships
*/
public function buildRelations()
{
} // buildRelations()
} // ParametroConfiguracionTableMap
<?php
namespace AppBundle\Model\map;
use \RelationMap;
use \TableMap;
/**
* This class defines the structure of the 'usuario_nutrapharm' table.
*
*
*
* This map class is used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column used in an
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type).
*
* @package propel.generator.src.AppBundle.Model.map
*/
class UsuarioNutrapharmTableMap extends TableMap
{
/**
* The (dot-path) name of this class
*/
const CLASS_NAME = 'src.AppBundle.Model.map.UsuarioNutrapharmTableMap';
/**
* Initialize the table attributes, columns and validators
* Relations are not initialized by this method since they are lazy loaded
*
* @return void
* @throws PropelException
*/
public function initialize()
{
// attributes
$this->setName('usuario_nutrapharm');
$this->setPhpName('UsuarioNutrapharm');
$this->setClassname('AppBundle\\Model\\UsuarioNutrapharm');
$this->setPackage('src.AppBundle.Model');
$this->setUseIdGenerator(true);
// columns
$this->addPrimaryKey('unu_id', 'UnuId', 'INTEGER', true, null, null);
$this->addColumn('unu_ua', 'UnuUa', 'VARCHAR', false, 1000, null);
$this->addColumn('unu_ip', 'UnuIp', 'VARCHAR', false, 1000, null);
$this->addColumn('unu_id_nutrapharm', 'UnuIdNutrapharm', 'VARCHAR', false, 1000, null);
$this->addColumn('unu_nombre', 'UnuNombre', 'VARCHAR', false, 250, null);
$this->addColumn('unu_correo', 'UnuCorreo', 'VARCHAR', false, 250, null);
$this->addColumn('unu_path_foto_inicial', 'UnuPathFotoInicial', 'VARCHAR', false, 1000, null);
$this->addColumn('unu_comentario_inicial', 'UnuComentarioInicial', 'VARCHAR', false, 1000, null);
$this->addColumn('unu_path_foto_final', 'UnuPathFotoFinal', 'VARCHAR', false, 1000, null);
$this->addColumn('unu_comentario_final', 'UnuComentarioFinal', 'VARCHAR', false, 1000, null);
$this->addColumn('unu_estado', 'UnuEstado', 'INTEGER', false, null, null);
$this->addColumn('unu_eliminado', 'UnuEliminado', 'INTEGER', false, null, null);
$this->addColumn('created_at', 'CreatedAt', 'TIMESTAMP', false, null, null);
$this->addColumn('updated_at', 'UpdatedAt', 'TIMESTAMP', false, null, null);
// validators
} // initialize()
/**
* Build the RelationMap objects for this table relationships
*/
public function buildRelations()
{
$this->addRelation('EnvioCorreoUsuario', 'AppBundle\\Model\\EnvioCorreoUsuario', RelationMap::ONE_TO_MANY, array('unu_id' => 'unu_id', ), null, null, 'EnvioCorreoUsuarios');
} // 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()
} // UsuarioNutrapharmTableMap
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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