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

/**
 * BaseRH_SO_TIPO_RIESGO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_tipo_riesgo
 * @property integer $id_tipif_riesgo
 * @property string $descripcion
 * 
 * @method integer           getIdTipoRiesgo()    Returns the current record's "id_tipo_riesgo" value
 * @method integer           getIdTipifRiesgo()   Returns the current record's "id_tipif_riesgo" value
 * @method string            getDescripcion()     Returns the current record's "descripcion" value
 * @method RH_SO_TIPO_RIESGO setIdTipoRiesgo()    Sets the current record's "id_tipo_riesgo" value
 * @method RH_SO_TIPO_RIESGO setIdTipifRiesgo()   Sets the current record's "id_tipif_riesgo" value
 * @method RH_SO_TIPO_RIESGO setDescripcion()     Sets the current record's "descripcion" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRH_SO_TIPO_RIESGO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_SO_TIPO_RIESGO');
        $this->hasColumn('id_tipo_riesgo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_tipif_riesgo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 100, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
    }

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