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

/**
 * BasePR_NOVEDAD_RP_VAL
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_novedad_rp_val
 * @property integer $id_novedad_rp
 * @property integer $id_asign
 * @property integer $id_obj_gasto
 * @property decimal $valor_inicial
 * @property decimal $debito
 * @property decimal $credito
 * @property decimal $valor_final
 * @property integer $id_vigencia
 * @property string $vigencia
 * 
 * @method integer           getIdNovedadRpVal()    Returns the current record's "id_novedad_rp_val" value
 * @method integer           getIdNovedadRp()       Returns the current record's "id_novedad_rp" value
 * @method integer           getIdAsign()           Returns the current record's "id_asign" value
 * @method integer           getIdObjGasto()        Returns the current record's "id_obj_gasto" value
 * @method decimal           getValorInicial()      Returns the current record's "valor_inicial" value
 * @method decimal           getDebito()            Returns the current record's "debito" value
 * @method decimal           getCredito()           Returns the current record's "credito" value
 * @method decimal           getValorFinal()        Returns the current record's "valor_final" value
 * @method integer           getIdVigencia()        Returns the current record's "id_vigencia" value
 * @method string            getVigencia()          Returns the current record's "vigencia" value
 * @method PR_NOVEDAD_RP_VAL setIdNovedadRpVal()    Sets the current record's "id_novedad_rp_val" value
 * @method PR_NOVEDAD_RP_VAL setIdNovedadRp()       Sets the current record's "id_novedad_rp" value
 * @method PR_NOVEDAD_RP_VAL setIdAsign()           Sets the current record's "id_asign" value
 * @method PR_NOVEDAD_RP_VAL setIdObjGasto()        Sets the current record's "id_obj_gasto" value
 * @method PR_NOVEDAD_RP_VAL setValorInicial()      Sets the current record's "valor_inicial" value
 * @method PR_NOVEDAD_RP_VAL setDebito()            Sets the current record's "debito" value
 * @method PR_NOVEDAD_RP_VAL setCredito()           Sets the current record's "credito" value
 * @method PR_NOVEDAD_RP_VAL setValorFinal()        Sets the current record's "valor_final" value
 * @method PR_NOVEDAD_RP_VAL setIdVigencia()        Sets the current record's "id_vigencia" value
 * @method PR_NOVEDAD_RP_VAL setVigencia()          Sets the current record's "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_NOVEDAD_RP_VAL extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_NOVEDAD_RP_VAL');
        $this->hasColumn('id_novedad_rp_val', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_novedad_rp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_asign', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_obj_gasto', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_inicial', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('debito', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('credito', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('valor_final', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 4, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
    }

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