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

/**
 * BaseRH_PN_JERARQUIA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $nivel
 * @property string $descripcion
 * @property integer $id_pn_jer
 * @property integer $id
 * @property string $adjunto
 * 
 * @method integer         getNivel()       Returns the current record's "nivel" value
 * @method string          getDescripcion() Returns the current record's "descripcion" value
 * @method integer         getIdPnJer()     Returns the current record's "id_pn_jer" value
 * @method integer         getId()          Returns the current record's "id" value
 * @method string          getAdjunto()     Returns the current record's "adjunto" value
 * @method RH_PN_JERARQUIA setNivel()       Sets the current record's "nivel" value
 * @method RH_PN_JERARQUIA setDescripcion() Sets the current record's "descripcion" value
 * @method RH_PN_JERARQUIA setIdPnJer()     Sets the current record's "id_pn_jer" value
 * @method RH_PN_JERARQUIA setId()          Sets the current record's "id" value
 * @method RH_PN_JERARQUIA setAdjunto()     Sets the current record's "adjunto" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRH_PN_JERARQUIA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_PN_JERARQUIA');
        $this->hasColumn('nivel', 'integer', 2, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 2,
             ));
        $this->hasColumn('descripcion', 'string', 50, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('id_pn_jer', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('adjunto', 'string', 512, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 512,
             ));
    }

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