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

/**
 * BaseASISTENCIA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_asistencia
 * @property integer $id_actividad
 * @property integer $id_doc_invitado
 * @property string $num_doc_invitado
 * @property string $asistio
 * 
 * @method integer    getIdAsistencia()     Returns the current record's "id_asistencia" value
 * @method integer    getIdActividad()      Returns the current record's "id_actividad" value
 * @method integer    getIdDocInvitado()    Returns the current record's "id_doc_invitado" value
 * @method string     getNumDocInvitado()   Returns the current record's "num_doc_invitado" value
 * @method string     getAsistio()          Returns the current record's "asistio" value
 * @method ASISTENCIA setIdAsistencia()     Sets the current record's "id_asistencia" value
 * @method ASISTENCIA setIdActividad()      Sets the current record's "id_actividad" value
 * @method ASISTENCIA setIdDocInvitado()    Sets the current record's "id_doc_invitado" value
 * @method ASISTENCIA setNumDocInvitado()   Sets the current record's "num_doc_invitado" value
 * @method ASISTENCIA setAsistio()          Sets the current record's "asistio" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseASISTENCIA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('ASISTENCIA');
        $this->hasColumn('id_asistencia', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_actividad', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_doc_invitado', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc_invitado', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('asistio', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 1,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
    }

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