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

/**
 * BaseTS_SALDOS_RC
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_saldo
 * @property timestamp $fecha
 * @property decimal $saldo_inicial
 * @property decimal $valor_debito
 * @property decimal $valor_credito
 * @property decimal $saldo_final
 * @property decimal $saldo_caja
 * 
 * @method integer      getIdSaldo()       Returns the current record's "id_saldo" value
 * @method timestamp    getFecha()         Returns the current record's "fecha" value
 * @method decimal      getSaldoInicial()  Returns the current record's "saldo_inicial" value
 * @method decimal      getValorDebito()   Returns the current record's "valor_debito" value
 * @method decimal      getValorCredito()  Returns the current record's "valor_credito" value
 * @method decimal      getSaldoFinal()    Returns the current record's "saldo_final" value
 * @method decimal      getSaldoCaja()     Returns the current record's "saldo_caja" value
 * @method TS_SALDOS_RC setIdSaldo()       Sets the current record's "id_saldo" value
 * @method TS_SALDOS_RC setFecha()         Sets the current record's "fecha" value
 * @method TS_SALDOS_RC setSaldoInicial()  Sets the current record's "saldo_inicial" value
 * @method TS_SALDOS_RC setValorDebito()   Sets the current record's "valor_debito" value
 * @method TS_SALDOS_RC setValorCredito()  Sets the current record's "valor_credito" value
 * @method TS_SALDOS_RC setSaldoFinal()    Sets the current record's "saldo_final" value
 * @method TS_SALDOS_RC setSaldoCaja()     Sets the current record's "saldo_caja" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_SALDOS_RC extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_SALDOS_RC');
        $this->hasColumn('id_saldo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('saldo_inicial', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_debito', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_credito', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('saldo_final', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('saldo_caja', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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