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

/**
 * BaseTS_EQUIVA_SAFI
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_obligacion
 * @property integer $secuencia
 * @property string $tipo_impuesto
 * @property integer $base_impuesto
 * @property integer $tarifa_impuesto
 * @property decimal $valor_impuesto
 * @property timestamp $fecha_proceso
 * @property integer $id_vigencia
 * @property string $ano_fiscal
 * @property integer $id_im
 * @property string $codimp
 * @property string $tipo_vig
 * @property integer $seccom
 * 
 * @method integer        getId()              Returns the current record's "id" value
 * @method integer        getIdObligacion()    Returns the current record's "id_obligacion" value
 * @method integer        getSecuencia()       Returns the current record's "secuencia" value
 * @method string         getTipoImpuesto()    Returns the current record's "tipo_impuesto" value
 * @method integer        getBaseImpuesto()    Returns the current record's "base_impuesto" value
 * @method integer        getTarifaImpuesto()  Returns the current record's "tarifa_impuesto" value
 * @method decimal        getValorImpuesto()   Returns the current record's "valor_impuesto" 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         getAnoFiscal()       Returns the current record's "ano_fiscal" value
 * @method integer        getIdIm()            Returns the current record's "id_im" value
 * @method string         getCodimp()          Returns the current record's "codimp" value
 * @method string         getTipoVig()         Returns the current record's "tipo_vig" value
 * @method integer        getSeccom()          Returns the current record's "seccom" value
 * @method TS_EQUIVA_SAFI setId()              Sets the current record's "id" value
 * @method TS_EQUIVA_SAFI setIdObligacion()    Sets the current record's "id_obligacion" value
 * @method TS_EQUIVA_SAFI setSecuencia()       Sets the current record's "secuencia" value
 * @method TS_EQUIVA_SAFI setTipoImpuesto()    Sets the current record's "tipo_impuesto" value
 * @method TS_EQUIVA_SAFI setBaseImpuesto()    Sets the current record's "base_impuesto" value
 * @method TS_EQUIVA_SAFI setTarifaImpuesto()  Sets the current record's "tarifa_impuesto" value
 * @method TS_EQUIVA_SAFI setValorImpuesto()   Sets the current record's "valor_impuesto" value
 * @method TS_EQUIVA_SAFI setFechaProceso()    Sets the current record's "fecha_proceso" value
 * @method TS_EQUIVA_SAFI setIdVigencia()      Sets the current record's "id_vigencia" value
 * @method TS_EQUIVA_SAFI setAnoFiscal()       Sets the current record's "ano_fiscal" value
 * @method TS_EQUIVA_SAFI setIdIm()            Sets the current record's "id_im" value
 * @method TS_EQUIVA_SAFI setCodimp()          Sets the current record's "codimp" value
 * @method TS_EQUIVA_SAFI setTipoVig()         Sets the current record's "tipo_vig" value
 * @method TS_EQUIVA_SAFI setSeccom()          Sets the current record's "seccom" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_EQUIVA_SAFI extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_EQUIVA_SAFI');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_obligacion', 'integer', 20, array(
             'notnull' => true,
             '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_impuesto', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('base_impuesto', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tarifa_impuesto', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_impuesto', 'decimal', 38, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => true,
             '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('ano_fiscal', 'string', 4, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('id_im', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('codimp', 'string', 4, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('tipo_vig', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('seccom', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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