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

/**
 * BasePR_VF_COMPROMISO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_vf_compromiso
 * @property integer $id_vf_rp
 * @property integer $id_rubro
 * @property integer $id_tipo_rec
 * @property integer $id_fuente
 * @property integer $id_situa
 * @property decimal $valor
 * @property string $vigencia
 * 
 * @method integer          getIdVfCompromiso()   Returns the current record's "id_vf_compromiso" value
 * @method integer          getIdVfRp()           Returns the current record's "id_vf_rp" 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          getIdFuente()         Returns the current record's "id_fuente" value
 * @method integer          getIdSitua()          Returns the current record's "id_situa" value
 * @method decimal          getValor()            Returns the current record's "valor" value
 * @method string           getVigencia()         Returns the current record's "vigencia" value
 * @method PR_VF_COMPROMISO setIdVfCompromiso()   Sets the current record's "id_vf_compromiso" value
 * @method PR_VF_COMPROMISO setIdVfRp()           Sets the current record's "id_vf_rp" value
 * @method PR_VF_COMPROMISO setIdRubro()          Sets the current record's "id_rubro" value
 * @method PR_VF_COMPROMISO setIdTipoRec()        Sets the current record's "id_tipo_rec" value
 * @method PR_VF_COMPROMISO setIdFuente()         Sets the current record's "id_fuente" value
 * @method PR_VF_COMPROMISO setIdSitua()          Sets the current record's "id_situa" value
 * @method PR_VF_COMPROMISO setValor()            Sets the current record's "valor" value
 * @method PR_VF_COMPROMISO 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_COMPROMISO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_VF_COMPROMISO');
        $this->hasColumn('id_vf_compromiso', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_vf_rp', '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_fuente', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_situa', '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', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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