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

/**
 * BaseTS_DIAN1001
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_mae_ter
 * @property string $cpt
 * @property integer $tdoc
 * @property string $nid
 * @property string $dv
 * @property string $apl1
 * @property string $apl2
 * @property string $nom1
 * @property string $nom2
 * @property string $raz
 * @property string $dir
 * @property string $depto
 * @property integer $pais
 * @property integer $pag_de
 * @property integer $pag_nd
 * @property integer $iva_ded
 * @property integer $iva_nod
 * @property integer $retf_p
 * @property integer $retf_a
 * @property integer $reti_p
 * @property integer $reti_a
 * @property integer $reti_n
 * @property integer $retc_p
 * @property integer $retc_a
 * @property string $ciudad
 * @property integer $tipo_mod
 * 
 * @method integer     getId()         Returns the current record's "id" value
 * @method integer     getIdMaeTer()   Returns the current record's "id_mae_ter" value
 * @method string      getCpt()        Returns the current record's "cpt" value
 * @method integer     getTdoc()       Returns the current record's "tdoc" value
 * @method string      getNid()        Returns the current record's "nid" value
 * @method string      getDv()         Returns the current record's "dv" value
 * @method string      getApl1()       Returns the current record's "apl1" value
 * @method string      getApl2()       Returns the current record's "apl2" value
 * @method string      getNom1()       Returns the current record's "nom1" value
 * @method string      getNom2()       Returns the current record's "nom2" value
 * @method string      getRaz()        Returns the current record's "raz" value
 * @method string      getDir()        Returns the current record's "dir" value
 * @method string      getDepto()      Returns the current record's "depto" value
 * @method integer     getPais()       Returns the current record's "pais" value
 * @method integer     getPagDe()      Returns the current record's "pag_de" value
 * @method integer     getPagNd()      Returns the current record's "pag_nd" value
 * @method integer     getIvaDed()     Returns the current record's "iva_ded" value
 * @method integer     getIvaNod()     Returns the current record's "iva_nod" value
 * @method integer     getRetfP()      Returns the current record's "retf_p" value
 * @method integer     getRetfA()      Returns the current record's "retf_a" value
 * @method integer     getRetiP()      Returns the current record's "reti_p" value
 * @method integer     getRetiA()      Returns the current record's "reti_a" value
 * @method integer     getRetiN()      Returns the current record's "reti_n" value
 * @method integer     getRetcP()      Returns the current record's "retc_p" value
 * @method integer     getRetcA()      Returns the current record's "retc_a" value
 * @method string      getCiudad()     Returns the current record's "ciudad" value
 * @method integer     getTipoMod()    Returns the current record's "tipo_mod" value
 * @method TS_DIAN1001 setId()         Sets the current record's "id" value
 * @method TS_DIAN1001 setIdMaeTer()   Sets the current record's "id_mae_ter" value
 * @method TS_DIAN1001 setCpt()        Sets the current record's "cpt" value
 * @method TS_DIAN1001 setTdoc()       Sets the current record's "tdoc" value
 * @method TS_DIAN1001 setNid()        Sets the current record's "nid" value
 * @method TS_DIAN1001 setDv()         Sets the current record's "dv" value
 * @method TS_DIAN1001 setApl1()       Sets the current record's "apl1" value
 * @method TS_DIAN1001 setApl2()       Sets the current record's "apl2" value
 * @method TS_DIAN1001 setNom1()       Sets the current record's "nom1" value
 * @method TS_DIAN1001 setNom2()       Sets the current record's "nom2" value
 * @method TS_DIAN1001 setRaz()        Sets the current record's "raz" value
 * @method TS_DIAN1001 setDir()        Sets the current record's "dir" value
 * @method TS_DIAN1001 setDepto()      Sets the current record's "depto" value
 * @method TS_DIAN1001 setPais()       Sets the current record's "pais" value
 * @method TS_DIAN1001 setPagDe()      Sets the current record's "pag_de" value
 * @method TS_DIAN1001 setPagNd()      Sets the current record's "pag_nd" value
 * @method TS_DIAN1001 setIvaDed()     Sets the current record's "iva_ded" value
 * @method TS_DIAN1001 setIvaNod()     Sets the current record's "iva_nod" value
 * @method TS_DIAN1001 setRetfP()      Sets the current record's "retf_p" value
 * @method TS_DIAN1001 setRetfA()      Sets the current record's "retf_a" value
 * @method TS_DIAN1001 setRetiP()      Sets the current record's "reti_p" value
 * @method TS_DIAN1001 setRetiA()      Sets the current record's "reti_a" value
 * @method TS_DIAN1001 setRetiN()      Sets the current record's "reti_n" value
 * @method TS_DIAN1001 setRetcP()      Sets the current record's "retc_p" value
 * @method TS_DIAN1001 setRetcA()      Sets the current record's "retc_a" value
 * @method TS_DIAN1001 setCiudad()     Sets the current record's "ciudad" value
 * @method TS_DIAN1001 setTipoMod()    Sets the current record's "tipo_mod" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_DIAN1001 extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_DIAN_1001');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('cpt', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tdoc', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('nid', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('dv', 'string', 40, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 40,
             ));
        $this->hasColumn('apl1', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('apl2', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('nom1', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('nom2', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('raz', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('dir', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('depto', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('pais', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('pag_de', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('pag_nd', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('iva_ded', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('iva_nod', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('retf_p', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('retf_a', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('reti_p', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('reti_a', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('reti_n', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('retc_p', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('retc_a', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('ciudad', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('tipo_mod', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 8,
             ));
    }

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