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

/**
 * BaseTS_SALDOS_ACR_COPI
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $id_saldos_acr
 * @property integer $id_tercero
 * @property timestamp $fecha
 * @property integer $saldo_inicial
 * @property integer $credito
 * @property integer $debito
 * @property integer $saldo_final
 * 
 * @method integer            getId()            Returns the current record's "id" value
 * @method string             getIdSaldosAcr()   Returns the current record's "id_saldos_acr" value
 * @method integer            getIdTercero()     Returns the current record's "id_tercero" value
 * @method timestamp          getFecha()         Returns the current record's "fecha" value
 * @method integer            getSaldoInicial()  Returns the current record's "saldo_inicial" value
 * @method integer            getCredito()       Returns the current record's "credito" value
 * @method integer            getDebito()        Returns the current record's "debito" value
 * @method integer            getSaldoFinal()    Returns the current record's "saldo_final" value
 * @method TS_SALDOS_ACR_COPI setId()            Sets the current record's "id" value
 * @method TS_SALDOS_ACR_COPI setIdSaldosAcr()   Sets the current record's "id_saldos_acr" value
 * @method TS_SALDOS_ACR_COPI setIdTercero()     Sets the current record's "id_tercero" value
 * @method TS_SALDOS_ACR_COPI setFecha()         Sets the current record's "fecha" value
 * @method TS_SALDOS_ACR_COPI setSaldoInicial()  Sets the current record's "saldo_inicial" value
 * @method TS_SALDOS_ACR_COPI setCredito()       Sets the current record's "credito" value
 * @method TS_SALDOS_ACR_COPI setDebito()        Sets the current record's "debito" value
 * @method TS_SALDOS_ACR_COPI setSaldoFinal()    Sets the current record's "saldo_final" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_SALDOS_ACR_COPI extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_SALDOS_ACR_COPI');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_saldos_acr', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tercero', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('saldo_inicial', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('credito', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('debito', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('saldo_final', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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