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

/**
 * BaseTS_DIAN1007
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $cod_dian
 * @property integer $sec_debito
 * @property integer $num_doc
 * @property integer $dv
 * @property string $tipide
 * @property string $razon_soc
 * @property string $pnombre
 * @property string $snombre
 * @property string $papellido
 * @property string $sapellido
 * @property string $placa_rmn
 * @property string $tipo
 * @property decimal $valor
 * 
 * @method integer     getId()         Returns the current record's "id" value
 * @method string      getCodDian()    Returns the current record's "cod_dian" value
 * @method integer     getSecDebito()  Returns the current record's "sec_debito" value
 * @method integer     getNumDoc()     Returns the current record's "num_doc" value
 * @method integer     getDv()         Returns the current record's "dv" value
 * @method string      getTipide()     Returns the current record's "tipide" value
 * @method string      getRazonSoc()   Returns the current record's "razon_soc" value
 * @method string      getPnombre()    Returns the current record's "pnombre" value
 * @method string      getSnombre()    Returns the current record's "snombre" value
 * @method string      getPapellido()  Returns the current record's "papellido" value
 * @method string      getSapellido()  Returns the current record's "sapellido" value
 * @method string      getPlacaRmn()   Returns the current record's "placa_rmn" value
 * @method string      getTipo()       Returns the current record's "tipo" value
 * @method decimal     getValor()      Returns the current record's "valor" value
 * @method TS_DIAN1007 setId()         Sets the current record's "id" value
 * @method TS_DIAN1007 setCodDian()    Sets the current record's "cod_dian" value
 * @method TS_DIAN1007 setSecDebito()  Sets the current record's "sec_debito" value
 * @method TS_DIAN1007 setNumDoc()     Sets the current record's "num_doc" value
 * @method TS_DIAN1007 setDv()         Sets the current record's "dv" value
 * @method TS_DIAN1007 setTipide()     Sets the current record's "tipide" value
 * @method TS_DIAN1007 setRazonSoc()   Sets the current record's "razon_soc" value
 * @method TS_DIAN1007 setPnombre()    Sets the current record's "pnombre" value
 * @method TS_DIAN1007 setSnombre()    Sets the current record's "snombre" value
 * @method TS_DIAN1007 setPapellido()  Sets the current record's "papellido" value
 * @method TS_DIAN1007 setSapellido()  Sets the current record's "sapellido" value
 * @method TS_DIAN1007 setPlacaRmn()   Sets the current record's "placa_rmn" value
 * @method TS_DIAN1007 setTipo()       Sets the current record's "tipo" value
 * @method TS_DIAN1007 setValor()      Sets the current record's "valor" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_DIAN1007 extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_DIAN_1007');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('cod_dian', 'string', 6, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 6,
             ));
        $this->hasColumn('sec_debito', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('dv', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('tipide', 'string', 2, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 1,
             'unsigned' => false,
             'primary' => false,
             'length' => 2,
             ));
        $this->hasColumn('razon_soc', 'string', 302, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 302,
             ));
        $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('papellido', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('sapellido', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('placa_rmn', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipo', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 1,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('valor', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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