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

/**
 * BasePR_PROYECTO_SALDOS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_saldo
 * @property integer $id_cpo
 * @property decimal $valor_inicial
 * @property decimal $valor_final
 * @property timestamp $fecha_sistema
 * @property string $usuario
 * @property string $ano_fiscal
 * @property integer $id_vigencia
 * 
 * @method integer            getIdSaldo()       Returns the current record's "id_saldo" value
 * @method integer            getIdCpo()         Returns the current record's "id_cpo" value
 * @method decimal            getValorInicial()  Returns the current record's "valor_inicial" value
 * @method decimal            getValorFinal()    Returns the current record's "valor_final" value
 * @method timestamp          getFechaSistema()  Returns the current record's "fecha_sistema" value
 * @method string             getUsuario()       Returns the current record's "usuario" value
 * @method string             getAnoFiscal()     Returns the current record's "ano_fiscal" value
 * @method integer            getIdVigencia()    Returns the current record's "id_vigencia" value
 * @method PR_PROYECTO_SALDOS setIdSaldo()       Sets the current record's "id_saldo" value
 * @method PR_PROYECTO_SALDOS setIdCpo()         Sets the current record's "id_cpo" value
 * @method PR_PROYECTO_SALDOS setValorInicial()  Sets the current record's "valor_inicial" value
 * @method PR_PROYECTO_SALDOS setValorFinal()    Sets the current record's "valor_final" value
 * @method PR_PROYECTO_SALDOS setFechaSistema()  Sets the current record's "fecha_sistema" value
 * @method PR_PROYECTO_SALDOS setUsuario()       Sets the current record's "usuario" value
 * @method PR_PROYECTO_SALDOS setAnoFiscal()     Sets the current record's "ano_fiscal" value
 * @method PR_PROYECTO_SALDOS setIdVigencia()    Sets the current record's "id_vigencia" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePR_PROYECTO_SALDOS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_PROYECTO_SALDOS');
        $this->hasColumn('id_saldo', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_cpo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_inicial', 'decimal', 38, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('valor_final', 'decimal', 38, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('fecha_sistema', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuario', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('ano_fiscal', 'string', 4, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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