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

/**
 * BaseLOG_RECURSOS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_log_recursos
 * @property string $operacion
 * @property string $descripcion
 * @property string $usuariolog
 * @property timestamp $fechalog
 * 
 * @method integer      getIdLogRecursos()   Returns the current record's "id_log_recursos" value
 * @method string       getOperacion()       Returns the current record's "operacion" value
 * @method string       getDescripcion()     Returns the current record's "descripcion" value
 * @method string       getUsuariolog()      Returns the current record's "usuariolog" value
 * @method timestamp    getFechalog()        Returns the current record's "fechalog" value
 * @method LOG_RECURSOS setIdLogRecursos()   Sets the current record's "id_log_recursos" value
 * @method LOG_RECURSOS setOperacion()       Sets the current record's "operacion" value
 * @method LOG_RECURSOS setDescripcion()     Sets the current record's "descripcion" value
 * @method LOG_RECURSOS setUsuariolog()      Sets the current record's "usuariolog" value
 * @method LOG_RECURSOS setFechalog()        Sets the current record's "fechalog" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseLOG_RECURSOS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('LOG_RECURSOS');
        $this->hasColumn('id_log_recursos', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('operacion', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 400, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 400,
             ));
        $this->hasColumn('usuariolog', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fechalog', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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