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

/**
 * BasePR_ELEM_OBJ
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_elem_obj
 * @property integer $id_obj_gasto
 * @property integer $id_elemento_gasto
 * @property string $vigencia
 * 
 * @method integer     getIdElemObj()         Returns the current record's "id_elem_obj" value
 * @method integer     getIdObjGasto()        Returns the current record's "id_obj_gasto" value
 * @method integer     getIdElementoGasto()   Returns the current record's "id_elemento_gasto" value
 * @method string      getVigencia()          Returns the current record's "vigencia" value
 * @method PR_ELEM_OBJ setIdElemObj()         Sets the current record's "id_elem_obj" value
 * @method PR_ELEM_OBJ setIdObjGasto()        Sets the current record's "id_obj_gasto" value
 * @method PR_ELEM_OBJ setIdElementoGasto()   Sets the current record's "id_elemento_gasto" value
 * @method PR_ELEM_OBJ 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_ELEM_OBJ extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_ELEM_OBJ');
        $this->hasColumn('id_elem_obj', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_obj_gasto', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_elemento_gasto', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             '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();
        
    }
}