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

/**
 * BaseTS_DEVOL_NO_PRESUP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_devol_no_presup
 * @property integer $vigencia
 * @property integer $id_ts_td
 * @property string $numero_doc
 * @property timestamp $fecha_doc
 * @property timestamp $fecha_proc
 * @property integer $id_mae_ter
 * @property string $observaciones
 * @property decimal $valor
 * @property decimal $saldo
 * @property integer $estado
 * @property timestamp $fecha_anu
 * @property string $motivo_anu
 * @property integer $id_ts_mov_banc
 * @property integer $id_ts_mb
 * @property string $cuenta
 * @property string $cod_aux
 * @property string $cod_tipo_comp
 * @property timestamp $fecha_log
 * 
 * @method integer            getIdDevolNoPresup()    Returns the current record's "id_devol_no_presup" value
 * @method integer            getVigencia()           Returns the current record's "vigencia" value
 * @method integer            getIdTsTd()             Returns the current record's "id_ts_td" value
 * @method string             getNumeroDoc()          Returns the current record's "numero_doc" value
 * @method timestamp          getFechaDoc()           Returns the current record's "fecha_doc" value
 * @method timestamp          getFechaProc()          Returns the current record's "fecha_proc" value
 * @method integer            getIdMaeTer()           Returns the current record's "id_mae_ter" value
 * @method string             getObservaciones()      Returns the current record's "observaciones" value
 * @method decimal            getValor()              Returns the current record's "valor" value
 * @method decimal            getSaldo()              Returns the current record's "saldo" value
 * @method integer            getEstado()             Returns the current record's "estado" value
 * @method timestamp          getFechaAnu()           Returns the current record's "fecha_anu" value
 * @method string             getMotivoAnu()          Returns the current record's "motivo_anu" value
 * @method integer            getIdTsMovBanc()        Returns the current record's "id_ts_mov_banc" value
 * @method integer            getIdTsMb()             Returns the current record's "id_ts_mb" value
 * @method string             getCuenta()             Returns the current record's "cuenta" value
 * @method string             getCodAux()             Returns the current record's "cod_aux" value
 * @method string             getCodTipoComp()        Returns the current record's "cod_tipo_comp" value
 * @method timestamp          getFechaLog()           Returns the current record's "fecha_log" value
 * @method TS_DEVOL_NO_PRESUP setIdDevolNoPresup()    Sets the current record's "id_devol_no_presup" value
 * @method TS_DEVOL_NO_PRESUP setVigencia()           Sets the current record's "vigencia" value
 * @method TS_DEVOL_NO_PRESUP setIdTsTd()             Sets the current record's "id_ts_td" value
 * @method TS_DEVOL_NO_PRESUP setNumeroDoc()          Sets the current record's "numero_doc" value
 * @method TS_DEVOL_NO_PRESUP setFechaDoc()           Sets the current record's "fecha_doc" value
 * @method TS_DEVOL_NO_PRESUP setFechaProc()          Sets the current record's "fecha_proc" value
 * @method TS_DEVOL_NO_PRESUP setIdMaeTer()           Sets the current record's "id_mae_ter" value
 * @method TS_DEVOL_NO_PRESUP setObservaciones()      Sets the current record's "observaciones" value
 * @method TS_DEVOL_NO_PRESUP setValor()              Sets the current record's "valor" value
 * @method TS_DEVOL_NO_PRESUP setSaldo()              Sets the current record's "saldo" value
 * @method TS_DEVOL_NO_PRESUP setEstado()             Sets the current record's "estado" value
 * @method TS_DEVOL_NO_PRESUP setFechaAnu()           Sets the current record's "fecha_anu" value
 * @method TS_DEVOL_NO_PRESUP setMotivoAnu()          Sets the current record's "motivo_anu" value
 * @method TS_DEVOL_NO_PRESUP setIdTsMovBanc()        Sets the current record's "id_ts_mov_banc" value
 * @method TS_DEVOL_NO_PRESUP setIdTsMb()             Sets the current record's "id_ts_mb" value
 * @method TS_DEVOL_NO_PRESUP setCuenta()             Sets the current record's "cuenta" value
 * @method TS_DEVOL_NO_PRESUP setCodAux()             Sets the current record's "cod_aux" value
 * @method TS_DEVOL_NO_PRESUP setCodTipoComp()        Sets the current record's "cod_tipo_comp" value
 * @method TS_DEVOL_NO_PRESUP setFechaLog()           Sets the current record's "fecha_log" 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_DEVOL_NO_PRESUP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_DEVOL_NO_PRESUP');
        $this->hasColumn('id_devol_no_presup', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('vigencia', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_ts_td', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('numero_doc', 'string', 64, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 64,
             ));
        $this->hasColumn('fecha_doc', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_proc', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('observaciones', 'string', 3000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 3000,
             ));
        $this->hasColumn('valor', 'decimal', 18, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('saldo', 'decimal', 18, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_anu', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('motivo_anu', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('id_ts_mov_banc', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_ts_mb', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('cuenta', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('cod_aux', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('cod_tipo_comp', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_log', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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