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

/**
 * BaseCA_SALDOS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_debito
 * @property integer $id_vencimiento
 * @property integer $id_anhos
 * @property integer $id_meses
 * @property decimal $saldo_anterior
 * @property decimal $debitos_mes
 * @property decimal $creditos_mes
 * @property decimal $saldo_actual
 * 
 * @method integer   getIdDebito()       Returns the current record's "id_debito" value
 * @method integer   getIdVencimiento()  Returns the current record's "id_vencimiento" value
 * @method integer   getIdAnhos()        Returns the current record's "id_anhos" value
 * @method integer   getIdMeses()        Returns the current record's "id_meses" value
 * @method decimal   getSaldoAnterior()  Returns the current record's "saldo_anterior" value
 * @method decimal   getDebitosMes()     Returns the current record's "debitos_mes" value
 * @method decimal   getCreditosMes()    Returns the current record's "creditos_mes" value
 * @method decimal   getSaldoActual()    Returns the current record's "saldo_actual" value
 * @method CA_SALDOS setIdDebito()       Sets the current record's "id_debito" value
 * @method CA_SALDOS setIdVencimiento()  Sets the current record's "id_vencimiento" value
 * @method CA_SALDOS setIdAnhos()        Sets the current record's "id_anhos" value
 * @method CA_SALDOS setIdMeses()        Sets the current record's "id_meses" value
 * @method CA_SALDOS setSaldoAnterior()  Sets the current record's "saldo_anterior" value
 * @method CA_SALDOS setDebitosMes()     Sets the current record's "debitos_mes" value
 * @method CA_SALDOS setCreditosMes()    Sets the current record's "creditos_mes" value
 * @method CA_SALDOS setSaldoActual()    Sets the current record's "saldo_actual" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_SALDOS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_SALDOS');
        $this->hasColumn('id_debito', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_vencimiento', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_anhos', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_meses', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('saldo_anterior', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('debitos_mes', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('creditos_mes', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('saldo_actual', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 38,
             ));
    }

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