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

/**
 * BaseCBR_DETALLE_CUOTA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_detalle_cuota
 * @property integer $id_planifica_fp
 * @property integer $numero_cuota
 * @property timestamp $fecha_cuota
 * @property decimal $valor_cuota
 * @property decimal $valor_int_corri
 * @property decimal $valor_total
 * @property integer $pagada
 * @property timestamp $fecha_cuota_habil
 * 
 * @method integer           getIdDetalleCuota()    Returns the current record's "id_detalle_cuota" value
 * @method integer           getIdPlanificaFp()     Returns the current record's "id_planifica_fp" value
 * @method integer           getNumeroCuota()       Returns the current record's "numero_cuota" value
 * @method timestamp         getFechaCuota()        Returns the current record's "fecha_cuota" value
 * @method decimal           getValorCuota()        Returns the current record's "valor_cuota" value
 * @method decimal           getValorIntCorri()     Returns the current record's "valor_int_corri" value
 * @method decimal           getValorTotal()        Returns the current record's "valor_total" value
 * @method integer           getPagada()            Returns the current record's "pagada" value
 * @method timestamp         getFechaCuotaHabil()   Returns the current record's "fecha_cuota_habil" value
 * @method CBR_DETALLE_CUOTA setIdDetalleCuota()    Sets the current record's "id_detalle_cuota" value
 * @method CBR_DETALLE_CUOTA setIdPlanificaFp()     Sets the current record's "id_planifica_fp" value
 * @method CBR_DETALLE_CUOTA setNumeroCuota()       Sets the current record's "numero_cuota" value
 * @method CBR_DETALLE_CUOTA setFechaCuota()        Sets the current record's "fecha_cuota" value
 * @method CBR_DETALLE_CUOTA setValorCuota()        Sets the current record's "valor_cuota" value
 * @method CBR_DETALLE_CUOTA setValorIntCorri()     Sets the current record's "valor_int_corri" value
 * @method CBR_DETALLE_CUOTA setValorTotal()        Sets the current record's "valor_total" value
 * @method CBR_DETALLE_CUOTA setPagada()            Sets the current record's "pagada" value
 * @method CBR_DETALLE_CUOTA setFechaCuotaHabil()   Sets the current record's "fecha_cuota_habil" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCBR_DETALLE_CUOTA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CBR_DETALLE_CUOTA');
        $this->hasColumn('id_detalle_cuota', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_planifica_fp', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('numero_cuota', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_cuota', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('valor_cuota', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_int_corri', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_total', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('pagada', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_cuota_habil', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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