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

/**
 * BaseCM_EMISION_PAGO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_emision_pago
 * @property integer $id_bn
 * @property integer $id_cb
 * @property integer $id_mae_ter
 * @property timestamp $fecha_proc
 * @property string $vigencia
 * @property integer $id_vigencia
 * @property timestamp $fechalog
 * @property string $usuariolog
 * @property string $estado
 * @property integer $id_clase
 * @property integer $id_caja_menor
 * 
 * @method integer         getIdEmisionPago()   Returns the current record's "id_emision_pago" 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         getIdMaeTer()        Returns the current record's "id_mae_ter" value
 * @method timestamp       getFechaProc()       Returns the current record's "fecha_proc" value
 * @method string          getVigencia()        Returns the current record's "vigencia" value
 * @method integer         getIdVigencia()      Returns the current record's "id_vigencia" value
 * @method timestamp       getFechalog()        Returns the current record's "fechalog" value
 * @method string          getUsuariolog()      Returns the current record's "usuariolog" value
 * @method string          getEstado()          Returns the current record's "estado" value
 * @method integer         getIdClase()         Returns the current record's "id_clase" value
 * @method integer         getIdCajaMenor()     Returns the current record's "id_caja_menor" value
 * @method CM_EMISION_PAGO setIdEmisionPago()   Sets the current record's "id_emision_pago" value
 * @method CM_EMISION_PAGO setIdBn()            Sets the current record's "id_bn" value
 * @method CM_EMISION_PAGO setIdCb()            Sets the current record's "id_cb" value
 * @method CM_EMISION_PAGO setIdMaeTer()        Sets the current record's "id_mae_ter" value
 * @method CM_EMISION_PAGO setFechaProc()       Sets the current record's "fecha_proc" value
 * @method CM_EMISION_PAGO setVigencia()        Sets the current record's "vigencia" value
 * @method CM_EMISION_PAGO setIdVigencia()      Sets the current record's "id_vigencia" value
 * @method CM_EMISION_PAGO setFechalog()        Sets the current record's "fechalog" value
 * @method CM_EMISION_PAGO setUsuariolog()      Sets the current record's "usuariolog" value
 * @method CM_EMISION_PAGO setEstado()          Sets the current record's "estado" value
 * @method CM_EMISION_PAGO setIdClase()         Sets the current record's "id_clase" value
 * @method CM_EMISION_PAGO setIdCajaMenor()     Sets the current record's "id_caja_menor" 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_EMISION_PAGO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CM_EMISION_PAGO');
        $this->hasColumn('id_emision_pago', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_bn', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_cb', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_proc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $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('fechalog', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuariolog', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             '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', '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,
             ));
    }

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