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

/**
 * BasePR_VF_APROB_DETA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_vf_aprob_deta
 * @property integer $id_vf_aprobacion
 * @property integer $id_rubro
 * @property integer $id_tipo_rec
 * @property integer $id_situa_rec
 * @property integer $id_fuente_finan
 * @property decimal $valor
 * @property string $vigencia
 * 
 * @method integer          getIdVfAprobDeta()    Returns the current record's "id_vf_aprob_deta" value
 * @method integer          getIdVfAprobacion()   Returns the current record's "id_vf_aprobacion" value
 * @method integer          getIdRubro()          Returns the current record's "id_rubro" value
 * @method integer          getIdTipoRec()        Returns the current record's "id_tipo_rec" value
 * @method integer          getIdSituaRec()       Returns the current record's "id_situa_rec" value
 * @method integer          getIdFuenteFinan()    Returns the current record's "id_fuente_finan" value
 * @method decimal          getValor()            Returns the current record's "valor" value
 * @method string           getVigencia()         Returns the current record's "vigencia" value
 * @method PR_VF_APROB_DETA setIdVfAprobDeta()    Sets the current record's "id_vf_aprob_deta" value
 * @method PR_VF_APROB_DETA setIdVfAprobacion()   Sets the current record's "id_vf_aprobacion" value
 * @method PR_VF_APROB_DETA setIdRubro()          Sets the current record's "id_rubro" value
 * @method PR_VF_APROB_DETA setIdTipoRec()        Sets the current record's "id_tipo_rec" value
 * @method PR_VF_APROB_DETA setIdSituaRec()       Sets the current record's "id_situa_rec" value
 * @method PR_VF_APROB_DETA setIdFuenteFinan()    Sets the current record's "id_fuente_finan" value
 * @method PR_VF_APROB_DETA setValor()            Sets the current record's "valor" value
 * @method PR_VF_APROB_DETA setVigencia()         Sets the current record's "vigencia" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePR_VF_APROB_DETA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_VF_APROB_DETA');
        $this->hasColumn('id_vf_aprob_deta', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_vf_aprobacion', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_rubro', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_rec', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_situa_rec', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_fuente_finan', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             '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();
        
    }
}