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

/**
 * BaseINVITADO_PARTICULAR
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_actividad
 * @property string $nombre_invitado
 * @property integer $id_inv_par
 * @property ACTIVIDAD $ACTIVIDAD
 * 
 * @method integer             getIdActividad()     Returns the current record's "id_actividad" value
 * @method string              getNombreInvitado()  Returns the current record's "nombre_invitado" value
 * @method integer             getIdInvPar()        Returns the current record's "id_inv_par" value
 * @method ACTIVIDAD           getACTIVIDAD()       Returns the current record's "ACTIVIDAD" value
 * @method INVITADO_PARTICULAR setIdActividad()     Sets the current record's "id_actividad" value
 * @method INVITADO_PARTICULAR setNombreInvitado()  Sets the current record's "nombre_invitado" value
 * @method INVITADO_PARTICULAR setIdInvPar()        Sets the current record's "id_inv_par" value
 * @method INVITADO_PARTICULAR setACTIVIDAD()       Sets the current record's "ACTIVIDAD" 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 BaseINVITADO_PARTICULAR extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('INVITADO_PARTICULAR');
        $this->hasColumn('id_actividad', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nombre_invitado', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('id_inv_par', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
    }

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