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

/**
 * BaseRH_SO_ELEM_PROT_PER
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * 
 * @method integer             getIdElemProtPer()    Returns the current record's "id_elem_prot_per" value
 * @method string              getDescripcion()      Returns the current record's "descripcion" value
 * @method integer             getId()               Returns the current record's "id" value
 * @method RH_SO_ELEM_PROT_PER setIdElemProtPer()    Sets the current record's "id_elem_prot_per" value
 * @method RH_SO_ELEM_PROT_PER setDescripcion()      Sets the current record's "descripcion" value
 * @method RH_SO_ELEM_PROT_PER setId()               Sets the current record's "id" value_elem_prot_per
 * @property string $descripcion
 * @property integer $id
 * 
 * @method integer             getIdElemProtPer()    Returns the current record's "id_elem_prot_per" value
 * @method string              getDescripcion()      Returns the current record's "descripcion" value
 * @method integer             getId()               Returns the current record's "id" value
 * @method RH_SO_ELEM_PROT_PER setIdElemProtPer()    Sets the current record's "id_elem_prot_per" value
 * @method RH_SO_ELEM_PROT_PER setDescripcion()      Sets the current record's "descripcion" value
 * @method RH_SO_ELEM_PROT_PER setId()               Sets the current record's "id" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRH_SO_ELEM_PROT_PER extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_SO_ELEM_PROT_PER');
        $this->hasColumn('id_elem_prot_per', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             'notnull' => false,
             ));
        $this->hasColumn('descripcion', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
    }

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