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

/**
 * BaseRH_SO_PAN_CONTROL_HIST
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_pan_control_hist
 * @property integer $id_clase_intev
 * @property integer $id_historial_pano
 * @property string $descripcion
 * @property string $vigencia
 * @property integer $id_panorama_riesgo
 * 
 * @method integer                getIdPanControlHist()    Returns the current record's "id_pan_control_hist" value
 * @method integer                getIdClaseIntev()        Returns the current record's "id_clase_intev" value
 * @method integer                getIdHistorialPano()     Returns the current record's "id_historial_pano" value
 * @method string                 getDescripcion()         Returns the current record's "descripcion" value
 * @method string                 getVigencia()            Returns the current record's "vigencia" value
 * @method integer                getIdPanoramaRiesgo()    Returns the current record's "id_panorama_riesgo" value
 * @method RH_SO_PAN_CONTROL_HIST setIdPanControlHist()    Sets the current record's "id_pan_control_hist" value
 * @method RH_SO_PAN_CONTROL_HIST setIdClaseIntev()        Sets the current record's "id_clase_intev" value
 * @method RH_SO_PAN_CONTROL_HIST setIdHistorialPano()     Sets the current record's "id_historial_pano" value
 * @method RH_SO_PAN_CONTROL_HIST setDescripcion()         Sets the current record's "descripcion" value
 * @method RH_SO_PAN_CONTROL_HIST setVigencia()            Sets the current record's "vigencia" value
 * @method RH_SO_PAN_CONTROL_HIST setIdPanoramaRiesgo()    Sets the current record's "id_panorama_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_PAN_CONTROL_HIST extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_SO_PAN_CONTROL_HIST');
        $this->hasColumn('id_pan_control_hist', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_clase_intev', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_historial_pano', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_panorama_riesgo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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