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

/**
 * BaseRH_SO_GRADO_PELIG
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_grado_pelig
 * @property integer $rango1
 * @property integer $rango2
 * @property string $interpretacion
 * 
 * @method integer           getIdGradoPelig()   Returns the current record's "id_grado_pelig" value
 * @method integer           getRango1()         Returns the current record's "rango1" value
 * @method integer           getRango2()         Returns the current record's "rango2" value
 * @method string            getInterpretacion() Returns the current record's "interpretacion" value
 * @method RH_SO_GRADO_PELIG setIdGradoPelig()   Sets the current record's "id_grado_pelig" value
 * @method RH_SO_GRADO_PELIG setRango1()         Sets the current record's "rango1" value
 * @method RH_SO_GRADO_PELIG setRango2()         Sets the current record's "rango2" value
 * @method RH_SO_GRADO_PELIG setInterpretacion() Sets the current record's "interpretacion" 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_GRADO_PELIG extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_SO_GRADO_PELIG');
        $this->hasColumn('id_grado_pelig', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('rango1', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('rango2', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('interpretacion', 'string', 400, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 400,
             ));
    }

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