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

/**
 * BasePR_LOG_MARCA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_log_marca
 * @property integer $id_rp
 * @property string $vigencia
 * @property timestamp $fecha_proceso
 * @property string $accion
 * @property string $usuariolog
 * @property timestamp $fechalog
 * 
 * @method integer      getIdLogMarca()    Returns the current record's "id_log_marca" value
 * @method integer      getIdRp()          Returns the current record's "id_rp" value
 * @method string       getVigencia()      Returns the current record's "vigencia" value
 * @method timestamp    getFechaProceso()  Returns the current record's "fecha_proceso" value
 * @method string       getAccion()        Returns the current record's "accion" value
 * @method string       getUsuariolog()    Returns the current record's "usuariolog" value
 * @method timestamp    getFechalog()      Returns the current record's "fechalog" value
 * @method PR_LOG_MARCA setIdLogMarca()    Sets the current record's "id_log_marca" value
 * @method PR_LOG_MARCA setIdRp()          Sets the current record's "id_rp" value
 * @method PR_LOG_MARCA setVigencia()      Sets the current record's "vigencia" value
 * @method PR_LOG_MARCA setFechaProceso()  Sets the current record's "fecha_proceso" value
 * @method PR_LOG_MARCA setAccion()        Sets the current record's "accion" value
 * @method PR_LOG_MARCA setUsuariolog()    Sets the current record's "usuariolog" value
 * @method PR_LOG_MARCA setFechalog()      Sets the current record's "fechalog" value
 * 
 * @package    cartera
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePR_LOG_MARCA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_LOG_MARCA');
        $this->hasColumn('id_log_marca', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_rp', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('accion', 'string', 60, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 60,
             ));
        $this->hasColumn('usuariolog', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fechalog', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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