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

/**
 * BaseRH_SO_ELEM_RIESGO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_elem_riesgo
 * @property integer $id_elem_prot_per
 * @property integer $id_tipif_riesgo
 * 
 * @method integer           getId()               Returns the current record's "id" value
 * @method integer           getIdElemRiesgo()     Returns the current record's "id_elem_riesgo" value
 * @method integer           getIdElemProtPer()    Returns the current record's "id_elem_prot_per" value
 * @method integer           getIdTipifRiesgo()    Returns the current record's "id_tipif_riesgo" value
 * @method RH_SO_ELEM_RIESGO setId()               Sets the current record's "id" value
 * @method RH_SO_ELEM_RIESGO setIdElemRiesgo()     Sets the current record's "id_elem_riesgo" value
 * @method RH_SO_ELEM_RIESGO setIdElemProtPer()    Sets the current record's "id_elem_prot_per" value
 * @method RH_SO_ELEM_RIESGO setIdTipifRiesgo()    Sets the current record's "id_tipif_riesgo" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRH_SO_ELEM_RIESGO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_SO_ELEM_RIESGO');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_elem_riesgo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_elem_prot_per', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipif_riesgo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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