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

/**
 * BaseRVC_TIPO_REGIMEN
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_tipo_regimen
 * @property string $descripcion
 * @property integer $aplica_iva
 * 
 * @method integer          getIdTipoRegimen()   Returns the current record's "id_tipo_regimen" value
 * @method string           getDescripcion()     Returns the current record's "descripcion" value
 * @method integer          getAplicaIva()       Returns the current record's "aplica_iva" value
 * @method RVC_TIPO_REGIMEN setIdTipoRegimen()   Sets the current record's "id_tipo_regimen" value
 * @method RVC_TIPO_REGIMEN setDescripcion()     Sets the current record's "descripcion" value
 * @method RVC_TIPO_REGIMEN setAplicaIva()       Sets the current record's "aplica_iva" value
 * 
 * @package    ProyectoSchema
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseRVC_TIPO_REGIMEN extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RVC_TIPO_REGIMEN');
        $this->hasColumn('id_tipo_regimen', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('descripcion', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('aplica_iva', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 1,
             ));
    }

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