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

/**
 * BaseRH_SO_TIPIF_RIESGO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_tipif_riesgo
 * @property string $descripcion
 * @property integer $id_factor_riesgo
 * 
 * @method integer            getId()               Returns the current record's "id" value
 * @method integer            getIdTipifRiesgo()    Returns the current record's "id_tipif_riesgo" value
 * @method string             getDescripcion()      Returns the current record's "descripcion" value
 * @method integer            getIdFactorRiesgo()   Returns the current record's "id_factor_riesgo" value
 * @method RH_SO_TIPIF_RIESGO setId()               Sets the current record's "id" value
 * @method RH_SO_TIPIF_RIESGO setIdTipifRiesgo()    Sets the current record's "id_tipif_riesgo" value
 * @method RH_SO_TIPIF_RIESGO setDescripcion()      Sets the current record's "descripcion" value
 * @method RH_SO_TIPIF_RIESGO setIdFactorRiesgo()   Sets the current record's "id_factor_riesgo" 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_TIPIF_RIESGO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_SO_TIPIF_RIESGO');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_tipif_riesgo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('id_factor_riesgo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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