<?php

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

/**
 * BaseCA_IPC
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * 
 */
abstract class BaseCACO_TASA_INTERESES_BANC extends sfDoctrineRecord {

    public function setTableDefinition() {
        $this->setTableName('CACO_TASA_INTERESES_BANC');
        $this->hasColumn('id_tasa_intereses_banc', 'integer', 8, array(
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => true,
            'length' => 8,
        ));
        $this->hasColumn('id_anhos', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_meses', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_anual', 'decimal', 20, array(
            'notnull' => true,
            'type' => 'decimal',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('valor_mensual', 'decimal', 20, array(
            'notnull' => true,
            'type' => 'decimal',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
    }

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

}
