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

/**
 * BaseCM_PAGO_OBL
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_pago_obl
 * @property integer $id_obligacion
 * @property integer $secuencia
 * @property integer $id_emision_pago
 * @property string $vigencia
 * @property integer $id_vigencia
 * @property decimal $valor
 * @property integer $id_medio_pago
 * @property integer $nro_orden_pago
 * @property string $nro_doc_medio
 * @property integer $id_tercero
 * @property integer $id_rp
 * @property string $estado
 * @property integer $id_clase_pago
 * @property string $descripcion
 * @property string $benef_cheque
 * @property integer $id_caja_menor
 * @property integer $reg_egr
 * 
 * @method integer     getIdPagoObl()       Returns the current record's "id_pago_obl" value
 * @method integer     getIdObligacion()    Returns the current record's "id_obligacion" value
 * @method integer     getSecuencia()       Returns the current record's "secuencia" value
 * @method integer     getIdEmisionPago()   Returns the current record's "id_emision_pago" value
 * @method string      getVigencia()        Returns the current record's "vigencia" value
 * @method integer     getIdVigencia()      Returns the current record's "id_vigencia" value
 * @method decimal     getValor()           Returns the current record's "valor" value
 * @method integer     getIdMedioPago()     Returns the current record's "id_medio_pago" value
 * @method integer     getNroOrdenPago()    Returns the current record's "nro_orden_pago" value
 * @method string      getNroDocMedio()     Returns the current record's "nro_doc_medio" value
 * @method integer     getIdTercero()       Returns the current record's "id_tercero" value
 * @method integer     getIdRp()            Returns the current record's "id_rp" value
 * @method string      getEstado()          Returns the current record's "estado" value
 * @method integer     getIdClasePago()     Returns the current record's "id_clase_pago" value
 * @method string      getDescripcion()     Returns the current record's "descripcion" value
 * @method string      getBenefCheque()     Returns the current record's "benef_cheque" value
 * @method integer     getIdCajaMenor()     Returns the current record's "id_caja_menor" value
 * @method integer     getRegEgr()          Returns the current record's "reg_egr" value
 * @method CM_PAGO_OBL setIdPagoObl()       Sets the current record's "id_pago_obl" value
 * @method CM_PAGO_OBL setIdObligacion()    Sets the current record's "id_obligacion" value
 * @method CM_PAGO_OBL setSecuencia()       Sets the current record's "secuencia" value
 * @method CM_PAGO_OBL setIdEmisionPago()   Sets the current record's "id_emision_pago" value
 * @method CM_PAGO_OBL setVigencia()        Sets the current record's "vigencia" value
 * @method CM_PAGO_OBL setIdVigencia()      Sets the current record's "id_vigencia" value
 * @method CM_PAGO_OBL setValor()           Sets the current record's "valor" value
 * @method CM_PAGO_OBL setIdMedioPago()     Sets the current record's "id_medio_pago" value
 * @method CM_PAGO_OBL setNroOrdenPago()    Sets the current record's "nro_orden_pago" value
 * @method CM_PAGO_OBL setNroDocMedio()     Sets the current record's "nro_doc_medio" value
 * @method CM_PAGO_OBL setIdTercero()       Sets the current record's "id_tercero" value
 * @method CM_PAGO_OBL setIdRp()            Sets the current record's "id_rp" value
 * @method CM_PAGO_OBL setEstado()          Sets the current record's "estado" value
 * @method CM_PAGO_OBL setIdClasePago()     Sets the current record's "id_clase_pago" value
 * @method CM_PAGO_OBL setDescripcion()     Sets the current record's "descripcion" value
 * @method CM_PAGO_OBL setBenefCheque()     Sets the current record's "benef_cheque" value
 * @method CM_PAGO_OBL setIdCajaMenor()     Sets the current record's "id_caja_menor" value
 * @method CM_PAGO_OBL setRegEgr()          Sets the current record's "reg_egr" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCM_PAGO_OBL extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CM_PAGO_OBL');
        $this->hasColumn('id_pago_obl', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_obligacion', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('secuencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_emision_pago', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('id_medio_pago', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nro_orden_pago', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nro_doc_medio', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tercero', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_rp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('id_clase_pago', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('benef_cheque', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('id_caja_menor', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('reg_egr', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
    }

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