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

/**
 * BaseRH_SO_PANORAMA_RIESGO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_panorama_riesgo
 * @property string $vigencia
 * @property integer $id_centro_operacion
 * @property string $areas
 * @property integer $id_factor_riesgo
 * @property integer $id_tipif_riesgo
 * @property string $fuente
 * @property string $efectos_posibles
 * @property string $personal_expuesto
 * @property decimal $personal_flotante
 * @property string $tiempo_exposicion
 * @property string $actividad_rutinaria
 * @property integer $id_consecuencia
 * @property integer $id_exposicion
 * @property integer $id_probabilidad
 * @property integer $grado_peligrosidad
 * @property string $interpretacion
 * @property string $administrativa
 * @property string $industrial
 * @property string $tipo_cuanti
 * @property integer $id_proceso
 * @property string $lugar_exposicion
 * 
 * @method integer               getIdPanoramaRiesgo()    Returns the current record's "id_panorama_riesgo" value
 * @method string                getVigencia()            Returns the current record's "vigencia" value
 * @method integer               getIdCentroOperacion()   Returns the current record's "id_centro_operacion" value
 * @method string                getAreas()               Returns the current record's "areas" value
 * @method integer               getIdFactorRiesgo()      Returns the current record's "id_factor_riesgo" value
 * @method integer               getIdTipifRiesgo()       Returns the current record's "id_tipif_riesgo" value
 * @method string                getFuente()              Returns the current record's "fuente" value
 * @method string                getEfectosPosibles()     Returns the current record's "efectos_posibles" value
 * @method string                getPersonalExpuesto()    Returns the current record's "personal_expuesto" value
 * @method decimal               getPersonalFlotante()    Returns the current record's "personal_flotante" value
 * @method string                getTiempoExposicion()    Returns the current record's "tiempo_exposicion" value
 * @method string                getActividadRutinaria()  Returns the current record's "actividad_rutinaria" value
 * @method integer               getIdConsecuencia()      Returns the current record's "id_consecuencia" value
 * @method integer               getIdExposicion()        Returns the current record's "id_exposicion" value
 * @method integer               getIdProbabilidad()      Returns the current record's "id_probabilidad" value
 * @method integer               getGradoPeligrosidad()   Returns the current record's "grado_peligrosidad" value
 * @method string                getInterpretacion()      Returns the current record's "interpretacion" value
 * @method string                getAdministrativa()      Returns the current record's "administrativa" value
 * @method string                getIndustrial()          Returns the current record's "industrial" value
 * @method string                getTipoCuanti()          Returns the current record's "tipo_cuanti" value
 * @method integer               getIdProceso()           Returns the current record's "id_proceso" value
 * @method string                getLugarExposicion()     Returns the current record's "lugar_exposicion" value
 * @method RH_SO_PANORAMA_RIESGO setIdPanoramaRiesgo()    Sets the current record's "id_panorama_riesgo" value
 * @method RH_SO_PANORAMA_RIESGO setVigencia()            Sets the current record's "vigencia" value
 * @method RH_SO_PANORAMA_RIESGO setIdCentroOperacion()   Sets the current record's "id_centro_operacion" value
 * @method RH_SO_PANORAMA_RIESGO setAreas()               Sets the current record's "areas" value
 * @method RH_SO_PANORAMA_RIESGO setIdFactorRiesgo()      Sets the current record's "id_factor_riesgo" value
 * @method RH_SO_PANORAMA_RIESGO setIdTipifRiesgo()       Sets the current record's "id_tipif_riesgo" value
 * @method RH_SO_PANORAMA_RIESGO setFuente()              Sets the current record's "fuente" value
 * @method RH_SO_PANORAMA_RIESGO setEfectosPosibles()     Sets the current record's "efectos_posibles" value
 * @method RH_SO_PANORAMA_RIESGO setPersonalExpuesto()    Sets the current record's "personal_expuesto" value
 * @method RH_SO_PANORAMA_RIESGO setPersonalFlotante()    Sets the current record's "personal_flotante" value
 * @method RH_SO_PANORAMA_RIESGO setTiempoExposicion()    Sets the current record's "tiempo_exposicion" value
 * @method RH_SO_PANORAMA_RIESGO setActividadRutinaria()  Sets the current record's "actividad_rutinaria" value
 * @method RH_SO_PANORAMA_RIESGO setIdConsecuencia()      Sets the current record's "id_consecuencia" value
 * @method RH_SO_PANORAMA_RIESGO setIdExposicion()        Sets the current record's "id_exposicion" value
 * @method RH_SO_PANORAMA_RIESGO setIdProbabilidad()      Sets the current record's "id_probabilidad" value
 * @method RH_SO_PANORAMA_RIESGO setGradoPeligrosidad()   Sets the current record's "grado_peligrosidad" value
 * @method RH_SO_PANORAMA_RIESGO setInterpretacion()      Sets the current record's "interpretacion" value
 * @method RH_SO_PANORAMA_RIESGO setAdministrativa()      Sets the current record's "administrativa" value
 * @method RH_SO_PANORAMA_RIESGO setIndustrial()          Sets the current record's "industrial" value
 * @method RH_SO_PANORAMA_RIESGO setTipoCuanti()          Sets the current record's "tipo_cuanti" value
 * @method RH_SO_PANORAMA_RIESGO setIdProceso()           Sets the current record's "id_proceso" value
 * @method RH_SO_PANORAMA_RIESGO setLugarExposicion()     Sets the current record's "lugar_exposicion" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRH_SO_PANORAMA_RIESGO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_SO_PANORAMA_RIESGO');
        $this->hasColumn('id_panorama_riesgo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_centro_operacion', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('areas', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('id_factor_riesgo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipif_riesgo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fuente', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('efectos_posibles', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('personal_expuesto', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('personal_flotante', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tiempo_exposicion', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('actividad_rutinaria', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_consecuencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_exposicion', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_probabilidad', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('grado_peligrosidad', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('interpretacion', 'string', 40, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 40,
             ));
        $this->hasColumn('administrativa', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('industrial', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('tipo_cuanti', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_proceso', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('lugar_exposicion', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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