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

/**
 * BaseRE_RECAUDO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_recaudo
 * @property integer $id_ts_mov_banc
 * @property integer $id_bn
 * @property integer $id_cb
 * @property integer $id_ts_mb
 * @property integer $id_ts_td
 * @property string $numero_doc
 * @property timestamp $fecha
 * @property timestamp $fecha_proc
 * @property integer $id_mae_ter
 * @property integer $id_mineral
 * @property string $placa_rmn
 * @property string $observaciones
 * @property decimal $valor_recaudo
 * @property decimal $saldo
 * @property integer $estado
 * @property timestamp $fecha_anu
 * @property string $motivo_anu
 * @property integer $id_tipo_clasificacion
 * @property integer $sgr
 * @property string $orden_pago_sgr
 * @property timestamp $fecha_pago_sgr
 * @property integer $id_mae_ter_sgr
 * @property integer $id_liq_pago_web
 * 
 * @method integer    getIdRecaudo()             Returns the current record's "id_recaudo" value
 * @method integer    getIdTsMovBanc()           Returns the current record's "id_ts_mov_banc" value
 * @method integer    getIdBn()                  Returns the current record's "id_bn" value
 * @method integer    getIdCb()                  Returns the current record's "id_cb" value
 * @method integer    getIdTsMb()                Returns the current record's "id_ts_mb" 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  getFecha()                 Returns the current record's "fecha" 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 integer    getIdMineral()             Returns the current record's "id_mineral" value
 * @method string     getPlacaRmn()              Returns the current record's "placa_rmn" value
 * @method string     getObservaciones()         Returns the current record's "observaciones" value
 * @method decimal    getValorRecaudo()          Returns the current record's "valor_recaudo" 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    getIdTipoClasificacion()   Returns the current record's "id_tipo_clasificacion" value
 * @method integer    getSgr()                   Returns the current record's "sgr" value
 * @method string     getOrdenPagoSgr()          Returns the current record's "orden_pago_sgr" value
 * @method timestamp  getFechaPagoSgr()          Returns the current record's "fecha_pago_sgr" value
 * @method integer    getIdMaeTerSgr()           Returns the current record's "id_mae_ter_sgr" value
 * @method integer    getIdLiqPagoWeb()          Returns the current record's "id_liq_pago_web" value
 * @method RE_RECAUDO setIdRecaudo()             Sets the current record's "id_recaudo" value
 * @method RE_RECAUDO setIdTsMovBanc()           Sets the current record's "id_ts_mov_banc" value
 * @method RE_RECAUDO setIdBn()                  Sets the current record's "id_bn" value
 * @method RE_RECAUDO setIdCb()                  Sets the current record's "id_cb" value
 * @method RE_RECAUDO setIdTsMb()                Sets the current record's "id_ts_mb" value
 * @method RE_RECAUDO setIdTsTd()                Sets the current record's "id_ts_td" value
 * @method RE_RECAUDO setNumeroDoc()             Sets the current record's "numero_doc" value
 * @method RE_RECAUDO setFecha()                 Sets the current record's "fecha" value
 * @method RE_RECAUDO setFechaProc()             Sets the current record's "fecha_proc" value
 * @method RE_RECAUDO setIdMaeTer()              Sets the current record's "id_mae_ter" value
 * @method RE_RECAUDO setIdMineral()             Sets the current record's "id_mineral" value
 * @method RE_RECAUDO setPlacaRmn()              Sets the current record's "placa_rmn" value
 * @method RE_RECAUDO setObservaciones()         Sets the current record's "observaciones" value
 * @method RE_RECAUDO setValorRecaudo()          Sets the current record's "valor_recaudo" value
 * @method RE_RECAUDO setSaldo()                 Sets the current record's "saldo" value
 * @method RE_RECAUDO setEstado()                Sets the current record's "estado" value
 * @method RE_RECAUDO setFechaAnu()              Sets the current record's "fecha_anu" value
 * @method RE_RECAUDO setMotivoAnu()             Sets the current record's "motivo_anu" value
 * @method RE_RECAUDO setIdTipoClasificacion()   Sets the current record's "id_tipo_clasificacion" value
 * @method RE_RECAUDO setSgr()                   Sets the current record's "sgr" value
 * @method RE_RECAUDO setOrdenPagoSgr()          Sets the current record's "orden_pago_sgr" value
 * @method RE_RECAUDO setFechaPagoSgr()          Sets the current record's "fecha_pago_sgr" value
 * @method RE_RECAUDO setIdMaeTerSgr()           Sets the current record's "id_mae_ter_sgr" value
 * @method RE_RECAUDO setIdLiqPagoWeb()          Sets the current record's "id_liq_pago_web" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRE_RECAUDO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RE_RECAUDO');
        $this->hasColumn('id_recaudo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_ts_mov_banc', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_bn', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cb', '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('id_ts_td', 'integer', 8, array(
             'notnull' => false,
             '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', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_proc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_mineral', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('placa_rmn', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observaciones', 'string', 3000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 3000,
             ));
        $this->hasColumn('valor_recaudo', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('saldo', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('estado', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_anu', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('motivo_anu', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('id_tipo_clasificacion', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '2',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('sgr', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('orden_pago_sgr', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_pago_sgr', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_mae_ter_sgr', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '29085',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_liq_pago_web', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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