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

/**
 * BaseCA_TASA_INTERES
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_tasa_interes
 * @property decimal $valor
 * @property integer $aplica_usura
 * @property integer $estado
 * @property string $nombre
 * @property string $descripcion
 * @property integer $aplica_facilidad_ic
 * @property integer $vigencia
 * @property integer $aplica_facilidad_im
 * @property integer $id_meses
 * 
 * @method integer         getIdTasaInteres()       Returns the current record's "id_tasa_interes" value
 * @method decimal         getValor()               Returns the current record's "valor" value
 * @method integer         getAplicaUsura()         Returns the current record's "aplica_usura" value
 * @method integer         getEstado()              Returns the current record's "estado" value
 * @method string          getNombre()              Returns the current record's "nombre" value
 * @method string          getDescripcion()         Returns the current record's "descripcion" value
 * @method integer         getAplicaFacilidadIc()   Returns the current record's "aplica_facilidad_ic" value
 * @method integer         getVigencia()            Returns the current record's "vigencia" value
 * @method integer         getAplicaFacilidadIm()   Returns the current record's "aplica_facilidad_im" value
 * @method integer         getIdMeses()             Returns the current record's "id_meses" value
 * @method CA_TASA_INTERES setIdTasaInteres()       Sets the current record's "id_tasa_interes" value
 * @method CA_TASA_INTERES setValor()               Sets the current record's "valor" value
 * @method CA_TASA_INTERES setAplicaUsura()         Sets the current record's "aplica_usura" value
 * @method CA_TASA_INTERES setEstado()              Sets the current record's "estado" value
 * @method CA_TASA_INTERES setNombre()              Sets the current record's "nombre" value
 * @method CA_TASA_INTERES setDescripcion()         Sets the current record's "descripcion" value
 * @method CA_TASA_INTERES setAplicaFacilidadIc()   Sets the current record's "aplica_facilidad_ic" value
 * @method CA_TASA_INTERES setVigencia()            Sets the current record's "vigencia" value
 * @method CA_TASA_INTERES setAplicaFacilidadIm()   Sets the current record's "aplica_facilidad_im" value
 * @method CA_TASA_INTERES setIdMeses()             Sets the current record's "id_meses" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_TASA_INTERES extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_TASA_INTERES');
        $this->hasColumn('id_tasa_interes', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('valor', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('aplica_usura', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('nombre', 'string', 50, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('descripcion', 'string', 250, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 250,
             ));
        $this->hasColumn('aplica_facilidad_ic', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('vigencia', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('aplica_facilidad_im', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_meses', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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