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

/**
 * BaseLOG
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property timestamp $stamp
 * @property string $username
 * @property string $accion
 * @property string $ip
 * 
 * @method integer   getId()       Returns the current record's "id" value
 * @method timestamp getStamp()    Returns the current record's "stamp" value
 * @method string    getUsername() Returns the current record's "username" value
 * @method string    getAccion()   Returns the current record's "accion" value
 * @method string    getIp()       Returns the current record's "ip" value
 * @method LOG       setId()       Sets the current record's "id" value
 * @method LOG       setStamp()    Sets the current record's "stamp" value
 * @method LOG       setUsername() Sets the current record's "username" value
 * @method LOG       setAccion()   Sets the current record's "accion" value
 * @method LOG       setIp()       Sets the current record's "ip" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseLOG extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('LOG');
        $this->hasColumn('id', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('stamp', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('username', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('accion', 'string', 40, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 40,
             ));
        $this->hasColumn('ip', 'string', 25, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 25,
             ));
    }

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