<?php
// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('INTERCEROS_TMP', 'doctrine');

/**
 * BaseINTERCEROS_TMP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_terceros_tmp
 * @property integer $num_doc
 * @property integer $dv
 * @property string $razon_social
 * @property string $telefono
 * @property string $direccion
 * @property string $email
 * @property string $ciudad
 * @property string $primer_nombre
 * @property string $segundo_nombre
 * @property string $primer_apellido
 * @property string $segundo_apellido
 * @property integer $tipo
 * 
 * @method integer        getIdTercerosTmp()    Returns the current record's "id_terceros_tmp" value
 * @method integer        getNumDoc()           Returns the current record's "num_doc" value
 * @method integer        getDv()               Returns the current record's "dv" value
 * @method string         getRazonSocial()      Returns the current record's "razon_social" value
 * @method string         getTelefono()         Returns the current record's "telefono" value
 * @method string         getDireccion()        Returns the current record's "direccion" value
 * @method string         getEmail()            Returns the current record's "email" value
 * @method string         getCiudad()           Returns the current record's "ciudad" value
 * @method string         getPrimerNombre()     Returns the current record's "primer_nombre" value
 * @method string         getSegundoNombre()    Returns the current record's "segundo_nombre" value
 * @method string         getPrimerApellido()   Returns the current record's "primer_apellido" value
 * @method string         getSegundoApellido()  Returns the current record's "segundo_apellido" value
 * @method integer        getTipo()             Returns the current record's "tipo" value
 * @method INTERCEROS_TMP setIdTercerosTmp()    Sets the current record's "id_terceros_tmp" value
 * @method INTERCEROS_TMP setNumDoc()           Sets the current record's "num_doc" value
 * @method INTERCEROS_TMP setDv()               Sets the current record's "dv" value
 * @method INTERCEROS_TMP setRazonSocial()      Sets the current record's "razon_social" value
 * @method INTERCEROS_TMP setTelefono()         Sets the current record's "telefono" value
 * @method INTERCEROS_TMP setDireccion()        Sets the current record's "direccion" value
 * @method INTERCEROS_TMP setEmail()            Sets the current record's "email" value
 * @method INTERCEROS_TMP setCiudad()           Sets the current record's "ciudad" value
 * @method INTERCEROS_TMP setPrimerNombre()     Sets the current record's "primer_nombre" value
 * @method INTERCEROS_TMP setSegundoNombre()    Sets the current record's "segundo_nombre" value
 * @method INTERCEROS_TMP setPrimerApellido()   Sets the current record's "primer_apellido" value
 * @method INTERCEROS_TMP setSegundoApellido()  Sets the current record's "segundo_apellido" value
 * @method INTERCEROS_TMP setTipo()             Sets the current record's "tipo" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseINTERCEROS_TMP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('INTERCEROS_TMP');
        $this->hasColumn('id_terceros_tmp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('num_doc', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('dv', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('razon_social', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('telefono', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('direccion', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('email', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('ciudad', 'string', 150, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 150,
             ));
        $this->hasColumn('primer_nombre', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('segundo_nombre', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('primer_apellido', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('segundo_apellido', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('tipo', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        
    }
}