<?php

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

/**
 * BaseCA_IPC
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * 
 */
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('descripcion', 'string', 250, array(
            'notnull' => true,
            'type' => 'string',
            'fixed' => 250,
            'unsigned' => false,
            'primary' => false,
            'length' => 8,
        ));
        $this->hasColumn('aplica_usura', 'integer', 1, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 1,
        ));
        $this->hasColumn('valor', 'decimal', 20, array(
            'notnull' => true,
            'type' => 'decimal',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('aplica_facilidad_ic', 'integer', 8, array(
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 8,
        ));
        $this->hasColumn('aplica_facilidad_im', 'integer', 8, array(
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 8,
        ));
    }

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

}
