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

/**
 * BaseTS_SALDO_BANC20170206
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property decimal $id
 * @property string $vigencia
 * @property string $mes
 * @property timestamp $fecha
 * @property integer $id_ts_bn
 * @property integer $id_ts_cb
 * @property decimal $saldo_anterior
 * @property decimal $debito
 * @property decimal $credito
 * @property decimal $saldo_actual
 * 
 * @method decimal               getId()             Returns the current record's "id" value
 * @method string                getVigencia()       Returns the current record's "vigencia" value
 * @method string                getMes()            Returns the current record's "mes" value
 * @method timestamp             getFecha()          Returns the current record's "fecha" value
 * @method integer               getIdTsBn()         Returns the current record's "id_ts_bn" value
 * @method integer               getIdTsCb()         Returns the current record's "id_ts_cb" value
 * @method decimal               getSaldoAnterior()  Returns the current record's "saldo_anterior" value
 * @method decimal               getDebito()         Returns the current record's "debito" value
 * @method decimal               getCredito()        Returns the current record's "credito" value
 * @method decimal               getSaldoActual()    Returns the current record's "saldo_actual" value
 * @method TS_SALDO_BANC20170206 setId()             Sets the current record's "id" value
 * @method TS_SALDO_BANC20170206 setVigencia()       Sets the current record's "vigencia" value
 * @method TS_SALDO_BANC20170206 setMes()            Sets the current record's "mes" value
 * @method TS_SALDO_BANC20170206 setFecha()          Sets the current record's "fecha" value
 * @method TS_SALDO_BANC20170206 setIdTsBn()         Sets the current record's "id_ts_bn" value
 * @method TS_SALDO_BANC20170206 setIdTsCb()         Sets the current record's "id_ts_cb" value
 * @method TS_SALDO_BANC20170206 setSaldoAnterior()  Sets the current record's "saldo_anterior" value
 * @method TS_SALDO_BANC20170206 setDebito()         Sets the current record's "debito" value
 * @method TS_SALDO_BANC20170206 setCredito()        Sets the current record's "credito" value
 * @method TS_SALDO_BANC20170206 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 BaseTS_SALDO_BANC20170206 extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_SALDO_BANC_20170206');
        $this->hasColumn('id', 'decimal', 22, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 22,
             ));
        $this->hasColumn('vigencia', 'string', 4, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('mes', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_ts_bn', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_ts_cb', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('saldo_anterior', 'decimal', 22, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 22,
             ));
        $this->hasColumn('debito', 'decimal', 22, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 22,
             ));
        $this->hasColumn('credito', 'decimal', 22, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 22,
             ));
        $this->hasColumn('saldo_actual', 'decimal', 22, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 22,
             ));
    }

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