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

/**
 * BaseRH_SO_ANAL_VULNE
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_anal_vulne
 * @property integer $id_origen_amenaza
 * @property integer $id_evento
 * @property integer $id_sector
 * @property string $calificacion
 * @property string $vigencia
 * 
 * @method integer          getIdAnalVulne()       Returns the current record's "id_anal_vulne" value
 * @method integer          getIdOrigenAmenaza()   Returns the current record's "id_origen_amenaza" value
 * @method integer          getIdEvento()          Returns the current record's "id_evento" value
 * @method integer          getIdSector()          Returns the current record's "id_sector" value
 * @method string           getCalificacion()      Returns the current record's "calificacion" value
 * @method string           getVigencia()          Returns the current record's "vigencia" value
 * @method RH_SO_ANAL_VULNE setIdAnalVulne()       Sets the current record's "id_anal_vulne" value
 * @method RH_SO_ANAL_VULNE setIdOrigenAmenaza()   Sets the current record's "id_origen_amenaza" value
 * @method RH_SO_ANAL_VULNE setIdEvento()          Sets the current record's "id_evento" value
 * @method RH_SO_ANAL_VULNE setIdSector()          Sets the current record's "id_sector" value
 * @method RH_SO_ANAL_VULNE setCalificacion()      Sets the current record's "calificacion" value
 * @method RH_SO_ANAL_VULNE setVigencia()          Sets the current record's "vigencia" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRH_SO_ANAL_VULNE extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_SO_ANAL_VULNE');
        $this->hasColumn('id_anal_vulne', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_origen_amenaza', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_evento', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_sector', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('calificacion', 'string', 250, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 250,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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