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

/**
 * BaseRH_SO_PANORAMA_RIESGO_HIST
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_historial_pano
 * @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 timestamp $fecha_historial
 * @property string $lugar_exposicion
 * 
 * @method integer                    getIdHistorialPano()     Returns the current record's "id_historial_pano" value
 * @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 timestamp                  getFechaHistorial()      Returns the current record's "fecha_historial" value
 * @method string                     getLugarExposicion()     Returns the current record's "lugar_exposicion" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setIdHistorialPano()     Sets the current record's "id_historial_pano" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setIdPanoramaRiesgo()    Sets the current record's "id_panorama_riesgo" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setVigencia()            Sets the current record's "vigencia" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setIdCentroOperacion()   Sets the current record's "id_centro_operacion" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setAreas()               Sets the current record's "areas" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setIdFactorRiesgo()      Sets the current record's "id_factor_riesgo" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setIdTipifRiesgo()       Sets the current record's "id_tipif_riesgo" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setFuente()              Sets the current record's "fuente" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setEfectosPosibles()     Sets the current record's "efectos_posibles" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setPersonalExpuesto()    Sets the current record's "personal_expuesto" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setPersonalFlotante()    Sets the current record's "personal_flotante" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setTiempoExposicion()    Sets the current record's "tiempo_exposicion" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setActividadRutinaria()  Sets the current record's "actividad_rutinaria" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setIdConsecuencia()      Sets the current record's "id_consecuencia" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setIdExposicion()        Sets the current record's "id_exposicion" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setIdProbabilidad()      Sets the current record's "id_probabilidad" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setGradoPeligrosidad()   Sets the current record's "grado_peligrosidad" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setInterpretacion()      Sets the current record's "interpretacion" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setAdministrativa()      Sets the current record's "administrativa" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setIndustrial()          Sets the current record's "industrial" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setTipoCuanti()          Sets the current record's "tipo_cuanti" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setIdProceso()           Sets the current record's "id_proceso" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setFechaHistorial()      Sets the current record's "fecha_historial" value
 * @method RH_SO_PANORAMA_RIESGO_HIST setLugarExposicion()     Sets the current record's "lugar_exposicion" value
 * 
 * @package    cobro_coactivo
 * @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_HIST extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_SO_PANORAMA_RIESGO_HIST');
        $this->hasColumn('id_historial_pano', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_panorama_riesgo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_centro_operacion', 'integer', 20, array(
             'notnull' => true,
             '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' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipif_riesgo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fuente', 'string', 2000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('efectos_posibles', 'string', 2000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('personal_expuesto', 'string', 2000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('personal_flotante', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tiempo_exposicion', 'string', 100, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('actividad_rutinaria', 'string', 20, array(
             'notnull' => true,
             '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('fecha_historial', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('lugar_exposicion', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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