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

/**
 * BaseTSMD_SAFI
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_mov_banc
 * @property integer $id_mb_deduccion
 * @property string $tipo_impuesto
 * @property integer $base_impuesto
 * @property decimal $tarifa_impuesto
 * @property decimal $valor_impuesto
 * @property timestamp $fecha_proceso
 * @property integer $id_vigencia
 * @property string $vigencia
 * @property integer $id_im
 * @property integer $id_mae_ter
 * @property string $codimp
 * 
 * @method integer   getId()              Returns the current record's "id" value
 * @method integer   getIdMovBanc()       Returns the current record's "id_mov_banc" value
 * @method integer   getIdMbDeduccion()   Returns the current record's "id_mb_deduccion" value
 * @method string    getTipoImpuesto()    Returns the current record's "tipo_impuesto" value
 * @method integer   getBaseImpuesto()    Returns the current record's "base_impuesto" value
 * @method decimal   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    getVigencia()        Returns the current record's "vigencia" value
 * @method integer   getIdIm()            Returns the current record's "id_im" value
 * @method integer   getIdMaeTer()        Returns the current record's "id_mae_ter" value
 * @method string    getCodimp()          Returns the current record's "codimp" value
 * @method TSMD_SAFI setId()              Sets the current record's "id" value
 * @method TSMD_SAFI setIdMovBanc()       Sets the current record's "id_mov_banc" value
 * @method TSMD_SAFI setIdMbDeduccion()   Sets the current record's "id_mb_deduccion" value
 * @method TSMD_SAFI setTipoImpuesto()    Sets the current record's "tipo_impuesto" value
 * @method TSMD_SAFI setBaseImpuesto()    Sets the current record's "base_impuesto" value
 * @method TSMD_SAFI setTarifaImpuesto()  Sets the current record's "tarifa_impuesto" value
 * @method TSMD_SAFI setValorImpuesto()   Sets the current record's "valor_impuesto" value
 * @method TSMD_SAFI setFechaProceso()    Sets the current record's "fecha_proceso" value
 * @method TSMD_SAFI setIdVigencia()      Sets the current record's "id_vigencia" value
 * @method TSMD_SAFI setVigencia()        Sets the current record's "vigencia" value
 * @method TSMD_SAFI setIdIm()            Sets the current record's "id_im" value
 * @method TSMD_SAFI setIdMaeTer()        Sets the current record's "id_mae_ter" value
 * @method TSMD_SAFI setCodimp()          Sets the current record's "codimp" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTSMD_SAFI extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TSMD_SAFI');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_mov_banc', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_mb_deduccion', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipo_impuesto', 'string', 20, array(
             'notnull' => false,
             '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', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('valor_impuesto', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $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_im', '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('codimp', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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