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

/**
 * BaseMAESTRO_TERCEROS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @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
 * 
 * @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 MAESTRO_TERCEROS setIdMaeTer()      Sets the current record's "id_mae_ter" value
 * @method MAESTRO_TERCEROS setIdNatJur()      Sets the current record's "id_nat_jur" value
 * @method MAESTRO_TERCEROS setIdTipTer()      Sets the current record's "id_tip_ter" value
 * @method MAESTRO_TERCEROS setIdTipoDoc()     Sets the current record's "id_tipo_doc" value
 * @method MAESTRO_TERCEROS setNumDoc()        Sets the current record's "num_doc" value
 * @method MAESTRO_TERCEROS setCodigo()        Sets the current record's "codigo" value
 * @method MAESTRO_TERCEROS setRazonSoc()      Sets the current record's "razon_soc" value
 * @method MAESTRO_TERCEROS setCamCom()        Sets the current record's "cam_com" value
 * @method MAESTRO_TERCEROS setPnombre()       Sets the current record's "pnombre" value
 * @method MAESTRO_TERCEROS setSnombre()       Sets the current record's "snombre" value
 * @method MAESTRO_TERCEROS setEstadoTer()     Sets the current record's "estado_ter" value
 * @method MAESTRO_TERCEROS setFechaDoc()      Sets the current record's "fecha_doc" value
 * @method MAESTRO_TERCEROS setPapellido()     Sets the current record's "papellido" value
 * @method MAESTRO_TERCEROS setSapellido()     Sets the current record's "sapellido" value
 * @method MAESTRO_TERCEROS setNmatricula()    Sets the current record's "nmatricula" value
 * @method MAESTRO_TERCEROS setNmatriculamer() Sets the current record's "nmatriculamer" value
 * @method MAESTRO_TERCEROS setProfesion()     Sets the current record's "profesion" value
 * @method MAESTRO_TERCEROS setDv()            Sets the current record's "dv" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseMAESTRO_TERCEROS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('MAESTRO_TERCEROS');
        $this->hasColumn('id_mae_ter', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_nat_jur', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tip_ter', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc', 'string', 100, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('codigo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('razon_soc', 'string', 500, array(
             'notnull' => true,
             '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' => true,
             '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' => true,
             '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' => true,
             '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,
             ));
    }

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