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

/**
 * BaseCM_OBLIGACION_IVA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_obliga_iva
 * @property integer $id_obligacion
 * @property integer $secuencia
 * @property string $tipo_iva
 * @property decimal $base_iva
 * @property decimal $porcentaje_iva
 * @property decimal $valor_iva
 * @property decimal $total_iva
 * @property timestamp $fecha_proceso
 * @property integer $id_vigencia
 * @property string $vigencia
 * @property integer $id_caja_menor
 * 
 * @method integer           getIdObligaIva()    Returns the current record's "id_obliga_iva" value
 * @method integer           getIdObligacion()   Returns the current record's "id_obligacion" value
 * @method integer           getSecuencia()      Returns the current record's "secuencia" value
 * @method string            getTipoIva()        Returns the current record's "tipo_iva" value
 * @method decimal           getBaseIva()        Returns the current record's "base_iva" value
 * @method decimal           getPorcentajeIva()  Returns the current record's "porcentaje_iva" value
 * @method decimal           getValorIva()       Returns the current record's "valor_iva" value
 * @method decimal           getTotalIva()       Returns the current record's "total_iva" value
 * @method timestamp         getFechaProceso()   Returns the current record's "fecha_proceso" value
 * @method integer           getIdVigencia()     Returns the current record's "id_vigencia" value
 * @method string            getVigencia()       Returns the current record's "vigencia" value
 * @method integer           getIdCajaMenor()    Returns the current record's "id_caja_menor" value
 * @method CM_OBLIGACION_IVA setIdObligaIva()    Sets the current record's "id_obliga_iva" value
 * @method CM_OBLIGACION_IVA setIdObligacion()   Sets the current record's "id_obligacion" value
 * @method CM_OBLIGACION_IVA setSecuencia()      Sets the current record's "secuencia" value
 * @method CM_OBLIGACION_IVA setTipoIva()        Sets the current record's "tipo_iva" value
 * @method CM_OBLIGACION_IVA setBaseIva()        Sets the current record's "base_iva" value
 * @method CM_OBLIGACION_IVA setPorcentajeIva()  Sets the current record's "porcentaje_iva" value
 * @method CM_OBLIGACION_IVA setValorIva()       Sets the current record's "valor_iva" value
 * @method CM_OBLIGACION_IVA setTotalIva()       Sets the current record's "total_iva" value
 * @method CM_OBLIGACION_IVA setFechaProceso()   Sets the current record's "fecha_proceso" value
 * @method CM_OBLIGACION_IVA setIdVigencia()     Sets the current record's "id_vigencia" value
 * @method CM_OBLIGACION_IVA setVigencia()       Sets the current record's "vigencia" value
 * @method CM_OBLIGACION_IVA 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_OBLIGACION_IVA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CM_OBLIGACION_IVA');
        $this->hasColumn('id_obliga_iva', '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' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipo_iva', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('base_iva', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('porcentaje_iva', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_iva', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('total_iva', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             '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('id_vigencia', '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('id_caja_menor', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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