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

/**
 * BaseRH_SO_MEDICION_AMB
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_medicion_amb
 * @property integer $id_tipif_riesgo
 * @property integer $id_sector
 * @property integer $id_oficina
 * @property string $fuente_productora
 * @property integer $num_expuestos
 * @property decimal $nivel_expuestos
 * @property string $observaciones
 * @property timestamp $fecha_medicion
 * @property string $evaluador
 * @property integer $tipo
 * 
 * @method integer            getIdMedicionAmb()     Returns the current record's "id_medicion_amb" value
 * @method integer            getIdTipifRiesgo()     Returns the current record's "id_tipif_riesgo" value
 * @method integer            getIdSector()          Returns the current record's "id_sector" value
 * @method integer            getIdOficina()         Returns the current record's "id_oficina" value
 * @method string             getFuenteProductora()  Returns the current record's "fuente_productora" value
 * @method integer            getNumExpuestos()      Returns the current record's "num_expuestos" value
 * @method decimal            getNivelExpuestos()    Returns the current record's "nivel_expuestos" value
 * @method string             getObservaciones()     Returns the current record's "observaciones" value
 * @method timestamp          getFechaMedicion()     Returns the current record's "fecha_medicion" value
 * @method string             getEvaluador()         Returns the current record's "evaluador" value
 * @method integer            getTipo()              Returns the current record's "tipo" value
 * @method RH_SO_MEDICION_AMB setIdMedicionAmb()     Sets the current record's "id_medicion_amb" value
 * @method RH_SO_MEDICION_AMB setIdTipifRiesgo()     Sets the current record's "id_tipif_riesgo" value
 * @method RH_SO_MEDICION_AMB setIdSector()          Sets the current record's "id_sector" value
 * @method RH_SO_MEDICION_AMB setIdOficina()         Sets the current record's "id_oficina" value
 * @method RH_SO_MEDICION_AMB setFuenteProductora()  Sets the current record's "fuente_productora" value
 * @method RH_SO_MEDICION_AMB setNumExpuestos()      Sets the current record's "num_expuestos" value
 * @method RH_SO_MEDICION_AMB setNivelExpuestos()    Sets the current record's "nivel_expuestos" value
 * @method RH_SO_MEDICION_AMB setObservaciones()     Sets the current record's "observaciones" value
 * @method RH_SO_MEDICION_AMB setFechaMedicion()     Sets the current record's "fecha_medicion" value
 * @method RH_SO_MEDICION_AMB setEvaluador()         Sets the current record's "evaluador" value
 * @method RH_SO_MEDICION_AMB setTipo()              Sets the current record's "tipo" 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_MEDICION_AMB extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_SO_MEDICION_AMB');
        $this->hasColumn('id_medicion_amb', 'integer', 20, array(
             '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('id_sector', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_oficina', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fuente_productora', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('num_expuestos', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nivel_expuestos', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observaciones', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('fecha_medicion', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('evaluador', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('tipo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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