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

/**
 * BasePR_MARCA_RESERVA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_marca_reserva
 * @property integer $id_rp
 * @property integer $id_vigencia
 * @property string $vigencia
 * @property integer $marca
 * 
 * @method integer          getIdMarcaReserva()   Returns the current record's "id_marca_reserva" value
 * @method integer          getIdRp()             Returns the current record's "id_rp" value
 * @method integer          getIdVigencia()       Returns the current record's "id_vigencia" value
 * @method string           getVigencia()         Returns the current record's "vigencia" value
 * @method integer          getMarca()            Returns the current record's "marca" value
 * @method PR_MARCA_RESERVA setIdMarcaReserva()   Sets the current record's "id_marca_reserva" value
 * @method PR_MARCA_RESERVA setIdRp()             Sets the current record's "id_rp" value
 * @method PR_MARCA_RESERVA setIdVigencia()       Sets the current record's "id_vigencia" value
 * @method PR_MARCA_RESERVA setVigencia()         Sets the current record's "vigencia" value
 * @method PR_MARCA_RESERVA setMarca()            Sets the current record's "marca" 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_MARCA_RESERVA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_MARCA_RESERVA');
        $this->hasColumn('id_marca_reserva', '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('id_vigencia', '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('marca', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
    }

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