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

/**
 * BaseLOG_USR
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_log_usr
 * @property string $usuario
 * @property string $accion
 * @property timestamp $fecha
 * @property string $ip
 * 
 * @method integer   getId()         Returns the current record's "id" value
 * @method integer   getIdLogUsr()   Returns the current record's "id_log_usr" value
 * @method string    getUsuario()    Returns the current record's "usuario" value
 * @method string    getAccion()     Returns the current record's "accion" value
 * @method timestamp getFecha()      Returns the current record's "fecha" value
 * @method string    getIp()         Returns the current record's "ip" value
 * @method LOG_USR   setId()         Sets the current record's "id" value
 * @method LOG_USR   setIdLogUsr()   Sets the current record's "id_log_usr" value
 * @method LOG_USR   setUsuario()    Sets the current record's "usuario" value
 * @method LOG_USR   setAccion()     Sets the current record's "accion" value
 * @method LOG_USR   setFecha()      Sets the current record's "fecha" value
 * @method LOG_USR   setIp()         Sets the current record's "ip" value
 * 
 * @package    cartera
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseLOG_USR extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('LOG_USR');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_log_usr', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('usuario', 'string', 40, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 40,
             ));
        $this->hasColumn('accion', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('ip', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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