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

/**
 * BaseRH_SO_ORIGEN_AMENAZA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_origen_amenaza
 * @property integer $id_tipo_amenaza
 * @property string $descripcion
 * 
 * @method integer              getIdOrigenAmenaza()   Returns the current record's "id_origen_amenaza" value
 * @method integer              getIdTipoAmenaza()     Returns the current record's "id_tipo_amenaza" value
 * @method string               getDescripcion()       Returns the current record's "descripcion" value
 * @method RH_SO_ORIGEN_AMENAZA setIdOrigenAmenaza()   Sets the current record's "id_origen_amenaza" value
 * @method RH_SO_ORIGEN_AMENAZA setIdTipoAmenaza()     Sets the current record's "id_tipo_amenaza" value
 * @method RH_SO_ORIGEN_AMENAZA setDescripcion()       Sets the current record's "descripcion" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRH_SO_ORIGEN_AMENAZA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_SO_ORIGEN_AMENAZA');
        $this->hasColumn('id_origen_amenaza', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_amenaza', '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,
             ));
    }

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