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

/**
 * BaseLOG_ACTIV_ADMINIS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_log
 * @property string $tipo_operacion
 * @property string $perfil_mod
 * @property string $usuario_mod
 * @property string $usuario
 * @property timestamp $fecha
 * 
 * @method integer           getId()             Returns the current record's "id" value
 * @method integer           getIdLog()          Returns the current record's "id_log" value
 * @method string            getTipoOperacion()  Returns the current record's "tipo_operacion" value
 * @method string            getPerfilMod()      Returns the current record's "perfil_mod" value
 * @method string            getUsuarioMod()     Returns the current record's "usuario_mod" value
 * @method string            getUsuario()        Returns the current record's "usuario" value
 * @method timestamp         getFecha()          Returns the current record's "fecha" value
 * @method LOG_ACTIV_ADMINIS setId()             Sets the current record's "id" value
 * @method LOG_ACTIV_ADMINIS setIdLog()          Sets the current record's "id_log" value
 * @method LOG_ACTIV_ADMINIS setTipoOperacion()  Sets the current record's "tipo_operacion" value
 * @method LOG_ACTIV_ADMINIS setPerfilMod()      Sets the current record's "perfil_mod" value
 * @method LOG_ACTIV_ADMINIS setUsuarioMod()     Sets the current record's "usuario_mod" value
 * @method LOG_ACTIV_ADMINIS setUsuario()        Sets the current record's "usuario" value
 * @method LOG_ACTIV_ADMINIS setFecha()          Sets the current record's "fecha" 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_ACTIV_ADMINIS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('LOG_ACTIV_ADMINIS');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_log', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('tipo_operacion', 'string', 30, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 30,
             ));
        $this->hasColumn('perfil_mod', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('usuario_mod', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('usuario', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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