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

/**
 * BaseASISTENCIA_FORM_SESION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_asistencia
 * @property integer $id_actividad
 * @property integer $sesion
 * @property timestamp $fecha_sesion
 * @property string $num_doc
 * @property integer $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                getSesion()        Returns the current record's "sesion" value
 * @method timestamp              getFechaSesion()   Returns the current record's "fecha_sesion" value
 * @method string                 getNumDoc()        Returns the current record's "num_doc" value
 * @method integer                getAsistio()       Returns the current record's "asistio" value
 * @method ASISTENCIA_FORM_SESION setIdAsistencia()  Sets the current record's "id_asistencia" value
 * @method ASISTENCIA_FORM_SESION setIdActividad()   Sets the current record's "id_actividad" value
 * @method ASISTENCIA_FORM_SESION setSesion()        Sets the current record's "sesion" value
 * @method ASISTENCIA_FORM_SESION setFechaSesion()   Sets the current record's "fecha_sesion" value
 * @method ASISTENCIA_FORM_SESION setNumDoc()        Sets the current record's "num_doc" value
 * @method ASISTENCIA_FORM_SESION 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_FORM_SESION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('ASISTENCIA_FORM_SESION');
        $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('sesion', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_sesion', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('num_doc', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('asistio', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
    }

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