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

/**
 * BaseRE_PAGO_HIST
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_pago
 * @property integer $id_obligacion
 * @property integer $id_distribucion
 * @property integer $secuencia
 * @property string $lote_pago
 * @property integer $num_pago
 * @property timestamp $fecha_pago
 * @property integer $nit_ach
 * @property integer $sec_ach
 * @property string $banco
 * @property string $cuenta
 * @property string $tipcue
 * @property string $banco_pago
 * @property string $cuenta_pago
 * @property integer $estado
 * 
 * @method integer      getIdPago()          Returns the current record's "id_pago" value
 * @method integer      getIdObligacion()    Returns the current record's "id_obligacion" value
 * @method integer      getIdDistribucion()  Returns the current record's "id_distribucion" value
 * @method integer      getSecuencia()       Returns the current record's "secuencia" value
 * @method string       getLotePago()        Returns the current record's "lote_pago" value
 * @method integer      getNumPago()         Returns the current record's "num_pago" value
 * @method timestamp    getFechaPago()       Returns the current record's "fecha_pago" value
 * @method integer      getNitAch()          Returns the current record's "nit_ach" value
 * @method integer      getSecAch()          Returns the current record's "sec_ach" value
 * @method string       getBanco()           Returns the current record's "banco" value
 * @method string       getCuenta()          Returns the current record's "cuenta" value
 * @method string       getTipcue()          Returns the current record's "tipcue" value
 * @method string       getBancoPago()       Returns the current record's "banco_pago" value
 * @method string       getCuentaPago()      Returns the current record's "cuenta_pago" value
 * @method integer      getEstado()          Returns the current record's "estado" value
 * @method RE_PAGO_HIST setIdPago()          Sets the current record's "id_pago" value
 * @method RE_PAGO_HIST setIdObligacion()    Sets the current record's "id_obligacion" value
 * @method RE_PAGO_HIST setIdDistribucion()  Sets the current record's "id_distribucion" value
 * @method RE_PAGO_HIST setSecuencia()       Sets the current record's "secuencia" value
 * @method RE_PAGO_HIST setLotePago()        Sets the current record's "lote_pago" value
 * @method RE_PAGO_HIST setNumPago()         Sets the current record's "num_pago" value
 * @method RE_PAGO_HIST setFechaPago()       Sets the current record's "fecha_pago" value
 * @method RE_PAGO_HIST setNitAch()          Sets the current record's "nit_ach" value
 * @method RE_PAGO_HIST setSecAch()          Sets the current record's "sec_ach" value
 * @method RE_PAGO_HIST setBanco()           Sets the current record's "banco" value
 * @method RE_PAGO_HIST setCuenta()          Sets the current record's "cuenta" value
 * @method RE_PAGO_HIST setTipcue()          Sets the current record's "tipcue" value
 * @method RE_PAGO_HIST setBancoPago()       Sets the current record's "banco_pago" value
 * @method RE_PAGO_HIST setCuentaPago()      Sets the current record's "cuenta_pago" value
 * @method RE_PAGO_HIST setEstado()          Sets the current record's "estado" 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_PAGO_HIST extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RE_PAGO_HIST');
        $this->hasColumn('id_pago', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_obligacion', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_distribucion', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('secuencia', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('lote_pago', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_pago', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_pago', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('nit_ach', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('sec_ach', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('banco', 'string', 21, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 21,
             ));
        $this->hasColumn('cuenta', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipcue', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('banco_pago', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('cuenta_pago', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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