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

/**
 * BaseCBR_ABONO_CUOTA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_abono_cuota
 * @property integer $id_detalle_cuota
 * @property timestamp $fecha_abono
 * @property decimal $valor_abono
 * @property decimal $valor_bruto
 * @property integer $dias_mora
 * @property decimal $valor_int_corri
 * @property decimal $valor_int_mora
 * @property decimal $valor_abono_capital
 * @property decimal $valor_diferencia
 * @property integer $id_abono_cuota_dif
 * @property string $num_doc_sop
 * 
 * @method integer         getIdAbonoCuota()        Returns the current record's "id_abono_cuota" value
 * @method integer         getIdDetalleCuota()      Returns the current record's "id_detalle_cuota" value
 * @method timestamp       getFechaAbono()          Returns the current record's "fecha_abono" value
 * @method decimal         getValorAbono()          Returns the current record's "valor_abono" value
 * @method decimal         getValorBruto()          Returns the current record's "valor_bruto" value
 * @method integer         getDiasMora()            Returns the current record's "dias_mora" value
 * @method decimal         getValorIntCorri()       Returns the current record's "valor_int_corri" value
 * @method decimal         getValorIntMora()        Returns the current record's "valor_int_mora" value
 * @method decimal         getValorAbonoCapital()   Returns the current record's "valor_abono_capital" value
 * @method decimal         getValorDiferencia()     Returns the current record's "valor_diferencia" value
 * @method integer         getIdAbonoCuotaDif()     Returns the current record's "id_abono_cuota_dif" value
 * @method string          getNumDocSop()           Returns the current record's "num_doc_sop" value
 * @method CBR_ABONO_CUOTA setIdAbonoCuota()        Sets the current record's "id_abono_cuota" value
 * @method CBR_ABONO_CUOTA setIdDetalleCuota()      Sets the current record's "id_detalle_cuota" value
 * @method CBR_ABONO_CUOTA setFechaAbono()          Sets the current record's "fecha_abono" value
 * @method CBR_ABONO_CUOTA setValorAbono()          Sets the current record's "valor_abono" value
 * @method CBR_ABONO_CUOTA setValorBruto()          Sets the current record's "valor_bruto" value
 * @method CBR_ABONO_CUOTA setDiasMora()            Sets the current record's "dias_mora" value
 * @method CBR_ABONO_CUOTA setValorIntCorri()       Sets the current record's "valor_int_corri" value
 * @method CBR_ABONO_CUOTA setValorIntMora()        Sets the current record's "valor_int_mora" value
 * @method CBR_ABONO_CUOTA setValorAbonoCapital()   Sets the current record's "valor_abono_capital" value
 * @method CBR_ABONO_CUOTA setValorDiferencia()     Sets the current record's "valor_diferencia" value
 * @method CBR_ABONO_CUOTA setIdAbonoCuotaDif()     Sets the current record's "id_abono_cuota_dif" value
 * @method CBR_ABONO_CUOTA setNumDocSop()           Sets the current record's "num_doc_sop" 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_ABONO_CUOTA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CBR_ABONO_CUOTA');
        $this->hasColumn('id_abono_cuota', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_detalle_cuota', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_abono', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('valor_abono', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_bruto', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('dias_mora', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $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_int_mora', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_abono_capital', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_diferencia', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_abono_cuota_dif', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('num_doc_sop', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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