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

/**
 * BaseINTERCEROS_TEMP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_mae_ter
 * @property integer $id_nat_jur
 * @property integer $id_tip_ter
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $codigo
 * @property string $razon_soc
 * @property string $cam_com
 * @property string $pnombre
 * @property string $snombre
 * @property integer $estado_ter
 * @property timestamp $fecha_doc
 * @property string $papellido
 * @property string $sapellido
 * @property string $nmatricula
 * @property string $nmatriculamer
 * @property string $profesion
 * @property integer $dv
 * @property string $objetivo
 * 
 * @method integer         getId()            Returns the current record's "id" value
 * @method integer         getIdMaeTer()      Returns the current record's "id_mae_ter" value
 * @method integer         getIdNatJur()      Returns the current record's "id_nat_jur" value
 * @method integer         getIdTipTer()      Returns the current record's "id_tip_ter" value
 * @method integer         getIdTipoDoc()     Returns the current record's "id_tipo_doc" value
 * @method string          getNumDoc()        Returns the current record's "num_doc" value
 * @method integer         getCodigo()        Returns the current record's "codigo" value
 * @method string          getRazonSoc()      Returns the current record's "razon_soc" value
 * @method string          getCamCom()        Returns the current record's "cam_com" value
 * @method string          getPnombre()       Returns the current record's "pnombre" value
 * @method string          getSnombre()       Returns the current record's "snombre" value
 * @method integer         getEstadoTer()     Returns the current record's "estado_ter" value
 * @method timestamp       getFechaDoc()      Returns the current record's "fecha_doc" value
 * @method string          getPapellido()     Returns the current record's "papellido" value
 * @method string          getSapellido()     Returns the current record's "sapellido" value
 * @method string          getNmatricula()    Returns the current record's "nmatricula" value
 * @method string          getNmatriculamer() Returns the current record's "nmatriculamer" value
 * @method string          getProfesion()     Returns the current record's "profesion" value
 * @method integer         getDv()            Returns the current record's "dv" value
 * @method string          getObjetivo()      Returns the current record's "objetivo" value
 * @method INTERCEROS_TEMP setId()            Sets the current record's "id" value
 * @method INTERCEROS_TEMP setIdMaeTer()      Sets the current record's "id_mae_ter" value
 * @method INTERCEROS_TEMP setIdNatJur()      Sets the current record's "id_nat_jur" value
 * @method INTERCEROS_TEMP setIdTipTer()      Sets the current record's "id_tip_ter" value
 * @method INTERCEROS_TEMP setIdTipoDoc()     Sets the current record's "id_tipo_doc" value
 * @method INTERCEROS_TEMP setNumDoc()        Sets the current record's "num_doc" value
 * @method INTERCEROS_TEMP setCodigo()        Sets the current record's "codigo" value
 * @method INTERCEROS_TEMP setRazonSoc()      Sets the current record's "razon_soc" value
 * @method INTERCEROS_TEMP setCamCom()        Sets the current record's "cam_com" value
 * @method INTERCEROS_TEMP setPnombre()       Sets the current record's "pnombre" value
 * @method INTERCEROS_TEMP setSnombre()       Sets the current record's "snombre" value
 * @method INTERCEROS_TEMP setEstadoTer()     Sets the current record's "estado_ter" value
 * @method INTERCEROS_TEMP setFechaDoc()      Sets the current record's "fecha_doc" value
 * @method INTERCEROS_TEMP setPapellido()     Sets the current record's "papellido" value
 * @method INTERCEROS_TEMP setSapellido()     Sets the current record's "sapellido" value
 * @method INTERCEROS_TEMP setNmatricula()    Sets the current record's "nmatricula" value
 * @method INTERCEROS_TEMP setNmatriculamer() Sets the current record's "nmatriculamer" value
 * @method INTERCEROS_TEMP setProfesion()     Sets the current record's "profesion" value
 * @method INTERCEROS_TEMP setDv()            Sets the current record's "dv" value
 * @method INTERCEROS_TEMP setObjetivo()      Sets the current record's "objetivo" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseINTERCEROS_TEMP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('INTERCEROS_TEMP');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_nat_jur', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tip_ter', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('codigo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('razon_soc', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('cam_com', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('pnombre', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('snombre', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('estado_ter', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_doc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('papellido', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('sapellido', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('nmatricula', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nmatriculamer', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('profesion', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('dv', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('objetivo', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
    }

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