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

/**
 * BaseRH_SO_PAN_CONTROL
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_pan_control
 * @property integer $id_clase_intev
 * @property integer $id_panorama_riesgo
 * @property string $descripcion
 * @property string $vigencia
 * 
 * @method integer           getIdPanControl()       Returns the current record's "id_pan_control" value
 * @method integer           getIdClaseIntev()       Returns the current record's "id_clase_intev" value
 * @method integer           getIdPanoramaRiesgo()   Returns the current record's "id_panorama_riesgo" value
 * @method string            getDescripcion()        Returns the current record's "descripcion" value
 * @method string            getVigencia()           Returns the current record's "vigencia" value
 * @method RH_SO_PAN_CONTROL setIdPanControl()       Sets the current record's "id_pan_control" value
 * @method RH_SO_PAN_CONTROL setIdClaseIntev()       Sets the current record's "id_clase_intev" value
 * @method RH_SO_PAN_CONTROL setIdPanoramaRiesgo()   Sets the current record's "id_panorama_riesgo" value
 * @method RH_SO_PAN_CONTROL setDescripcion()        Sets the current record's "descripcion" value
 * @method RH_SO_PAN_CONTROL setVigencia()           Sets the current record's "vigencia" 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 extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_SO_PAN_CONTROL');
        $this->hasColumn('id_pan_control', '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_panorama_riesgo', '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,
             ));
    }

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