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

/**
 * BaseAREA_INVITADA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_actividad
 * @property integer $id_area
 * @property AREA $AREA
 * 
 * @method integer       getIdActividad()  Returns the current record's "id_actividad" value
 * @method integer       getIdArea()       Returns the current record's "id_area" value
 * @method AREA          getAREA()         Returns the current record's "AREA" value
 * @method AREA_INVITADA setIdActividad()  Sets the current record's "id_actividad" value
 * @method AREA_INVITADA setIdArea()       Sets the current record's "id_area" value
 * @method AREA_INVITADA setAREA()         Sets the current record's "AREA" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseAREA_INVITADA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('AREA_INVITADA');
        $this->hasColumn('id_actividad', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_area', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        $this->hasOne('AREA', array(
             'local' => 'id_area',
             'foreign' => 'id_area'));
    }
}