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

/**
 * BaseCM_REG_EGRESO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_reg_egr
 * @property integer $id_pago_obl
 * @property integer $id_caja_menor
 * @property integer $nro_ord_pago
 * @property string $vigencia
 * @property string $usuariolog
 * @property timestamp $fechalog
 * 
 * @method integer       getId()            Returns the current record's "id" value
 * @method integer       getIdRegEgr()      Returns the current record's "id_reg_egr" value
 * @method integer       getIdPagoObl()     Returns the current record's "id_pago_obl" value
 * @method integer       getIdCajaMenor()   Returns the current record's "id_caja_menor" value
 * @method integer       getNroOrdPago()    Returns the current record's "nro_ord_pago" value
 * @method string        getVigencia()      Returns the current record's "vigencia" value
 * @method string        getUsuariolog()    Returns the current record's "usuariolog" value
 * @method timestamp     getFechalog()      Returns the current record's "fechalog" value
 * @method CM_REG_EGRESO setId()            Sets the current record's "id" value
 * @method CM_REG_EGRESO setIdRegEgr()      Sets the current record's "id_reg_egr" value
 * @method CM_REG_EGRESO setIdPagoObl()     Sets the current record's "id_pago_obl" value
 * @method CM_REG_EGRESO setIdCajaMenor()   Sets the current record's "id_caja_menor" value
 * @method CM_REG_EGRESO setNroOrdPago()    Sets the current record's "nro_ord_pago" value
 * @method CM_REG_EGRESO setVigencia()      Sets the current record's "vigencia" value
 * @method CM_REG_EGRESO setUsuariolog()    Sets the current record's "usuariolog" value
 * @method CM_REG_EGRESO setFechalog()      Sets the current record's "fechalog" 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_REG_EGRESO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CM_REG_EGRESO');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_reg_egr', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_pago_obl', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_caja_menor', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nro_ord_pago', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('usuariolog', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fechalog', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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