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

/**
 * BaseCM_OBLIGACION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_obligacion
 * @property integer $secuencia
 * @property integer $id_vigencia
 * @property string $vigencia
 * @property integer $id_rp
 * @property integer $id_clase_cxp
 * @property timestamp $fecha_proceso
 * @property string $observaciones
 * @property integer $estado
 * @property string $usuariolog
 * @property timestamp $fechalog
 * @property integer $id_caja_menor
 * @property string $num_soporte
 * @property integer $tipo_soporte
 * @property timestamp $fecha_soporte
 * @property integer $id_mae_ter
 * @property integer $recibo_prov
 * @property integer $num_recibo
 * 
 * @method integer       getIdObligacion()  Returns the current record's "id_obligacion" value
 * @method integer       getSecuencia()     Returns the current record's "secuencia" value
 * @method integer       getIdVigencia()    Returns the current record's "id_vigencia" value
 * @method string        getVigencia()      Returns the current record's "vigencia" value
 * @method integer       getIdRp()          Returns the current record's "id_rp" value
 * @method integer       getIdClaseCxp()    Returns the current record's "id_clase_cxp" value
 * @method timestamp     getFechaProceso()  Returns the current record's "fecha_proceso" value
 * @method string        getObservaciones() Returns the current record's "observaciones" value
 * @method integer       getEstado()        Returns the current record's "estado" value
 * @method string        getUsuariolog()    Returns the current record's "usuariolog" value
 * @method timestamp     getFechalog()      Returns the current record's "fechalog" value
 * @method integer       getIdCajaMenor()   Returns the current record's "id_caja_menor" value
 * @method string        getNumSoporte()    Returns the current record's "num_soporte" value
 * @method integer       getTipoSoporte()   Returns the current record's "tipo_soporte" value
 * @method timestamp     getFechaSoporte()  Returns the current record's "fecha_soporte" value
 * @method integer       getIdMaeTer()      Returns the current record's "id_mae_ter" value
 * @method integer       getReciboProv()    Returns the current record's "recibo_prov" value
 * @method integer       getNumRecibo()     Returns the current record's "num_recibo" value
 * @method CM_OBLIGACION setIdObligacion()  Sets the current record's "id_obligacion" value
 * @method CM_OBLIGACION setSecuencia()     Sets the current record's "secuencia" value
 * @method CM_OBLIGACION setIdVigencia()    Sets the current record's "id_vigencia" value
 * @method CM_OBLIGACION setVigencia()      Sets the current record's "vigencia" value
 * @method CM_OBLIGACION setIdRp()          Sets the current record's "id_rp" value
 * @method CM_OBLIGACION setIdClaseCxp()    Sets the current record's "id_clase_cxp" value
 * @method CM_OBLIGACION setFechaProceso()  Sets the current record's "fecha_proceso" value
 * @method CM_OBLIGACION setObservaciones() Sets the current record's "observaciones" value
 * @method CM_OBLIGACION setEstado()        Sets the current record's "estado" value
 * @method CM_OBLIGACION setUsuariolog()    Sets the current record's "usuariolog" value
 * @method CM_OBLIGACION setFechalog()      Sets the current record's "fechalog" value
 * @method CM_OBLIGACION setIdCajaMenor()   Sets the current record's "id_caja_menor" value
 * @method CM_OBLIGACION setNumSoporte()    Sets the current record's "num_soporte" value
 * @method CM_OBLIGACION setTipoSoporte()   Sets the current record's "tipo_soporte" value
 * @method CM_OBLIGACION setFechaSoporte()  Sets the current record's "fecha_soporte" value
 * @method CM_OBLIGACION setIdMaeTer()      Sets the current record's "id_mae_ter" value
 * @method CM_OBLIGACION setReciboProv()    Sets the current record's "recibo_prov" value
 * @method CM_OBLIGACION setNumRecibo()     Sets the current record's "num_recibo" 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_OBLIGACION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CM_OBLIGACION');
        $this->hasColumn('id_obligacion', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('secuencia', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_rp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_clase_cxp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('observaciones', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('estado', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $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,
             ));
        $this->hasColumn('id_caja_menor', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('num_soporte', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipo_soporte', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_soporte', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('recibo_prov', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('num_recibo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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