<?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_etapa
 * @property string $nombre
 * @property string $descripcion
 * @property string $abreviacion
 * @property Doctrine_Collection $CA_TITULO_ETAPA
 * @property Doctrine_Collection $CA_FORMULA
 * @property Doctrine_Collection $CA_TASA_INTERES_MODALIDAD
 * @property Doctrine_Collection $CA_DET_LIQ_MIGRA
 * @property Doctrine_Collection $CA_DET_LIQ_CANON
 * 
 * @method integer             getIdEtapa()            Returns the current record's "id_etapa" value
 * @method string              getNombre()             Returns the current record's "nombre" value
 * @method string              getDescripcion()        Returns the current record's "descripcion" value
 * @method string              getAbreviacion()        Returns the current record's "abreviacion" value
 * @method Doctrine_Collection getCATITULOETAPA()      Returns the current record's "CA_TITULO_ETAPA" collection
 * @method Doctrine_Collection getCAFORMULA()          Returns the current record's "CA_FORMULA" collection
 * @method Doctrine_Collection getCAETAPAMODALIDAD()   Returns the current record's "CA_TASA_INTERES_MODALIDAD" collection
 * @method Doctrine_Collection getCADETLIQMIGRA()      Returns the current record's "CA_DET_LIQ_MIGRA" collection
 * @method Doctrine_Collection getCADETLIQCANON()      Returns the current record's "CA_DET_LIQ_CANON" collection
 * @method CA_TASA_INTERES            setIdEtapa()            Sets the current record's "id_etapa" 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            setAbreviacion()        Sets the current record's "abreviacion" value
 * @method CA_TASA_INTERES            setCATITULOETAPA()      Sets the current record's "CA_TITULO_ETAPA" collection
 * @method CA_TASA_INTERES            setCAFORMULA()          Sets the current record's "CA_FORMULA" collection
 * @method CA_TASA_INTERES            setCAETAPAMODALIDAD()   Sets the current record's "CA_TASA_INTERES_MODALIDAD" collection
 * @method CA_TASA_INTERES            setCADETLIQMIGRA()      Sets the current record's "CA_DET_LIQ_MIGRA" collection
 * @method CA_TASA_INTERES            setCADETLIQCANON()      Sets the current record's "CA_DET_LIQ_CANON" collection
 * 
 * @package    canon
 * @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', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('valor', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nombre', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('aplica_usura', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('vigencia', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_meses', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

    public function setUp()
    {
        
    }
        
}