<?php

// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('RVC_TIPO_CONDIC_DEPEND', 'doctrine');

/**
 * BaseRVC_TIPO_CONDIC_DEPEND
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_tipo_condic_depend
 * @property integer $orden
 * @property string $descripciÓn
 * @property string $abreviatura
 * @property integer $estado
 * 
 * @method integer                getIdTipoCondicDepend()    Returns the current record's "id_tipo_condic_depend" value
 * @method integer                getOrden()                 Returns the current record's "orden" value
 * @method string                 getDescripci()             Returns the current record's "descripci" value
 * @method string                 getAbreviatura()           Returns the current record's "abreviatura" value
 * @method integer                getEstado()                Returns the current record's "estado" value
 * @method RVC_TIPO_CONDIC_DEPEND setIdTipoCondicDepend()    Sets the current record's "id_tipo_condic_depend" value
 * @method RVC_TIPO_CONDIC_DEPEND setOrden()                 Sets the current record's "orden" value
 * @method RVC_TIPO_CONDIC_DEPEND setDescripci()             Sets the current record's "descripci" value
 * @method RVC_TIPO_CONDIC_DEPEND setAbreviatura()           Sets the current record's "abreviatura" value
 * @method RVC_TIPO_CONDIC_DEPEND setEstado()                Sets the current record's "estado" 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_CONDIC_DEPEND extends sfDoctrineRecord {

    public function setTableDefinition() {
        $this->setTableName('RVC_TIPO_CONDIC_DEPEND');
        $this->hasColumn('id_tipo_condic_depend', 'integer', 8, array(
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => true,
            'length' => 8,
        ));
        $this->hasColumn('orden', 'integer', 8, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 8,
        ));
        $this->hasColumn('descripcion', 'string', 2000, array(
            'notnull' => true,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 2000,
        ));
        $this->hasColumn('abreviatura', 'string', 200, array(
            'notnull' => true,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 200,
        ));
        $this->hasColumn('estado', 'integer', 1, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'default' => '1 ',
            'primary' => false,
            'length' => 1,
        ));
        $this->hasColumn('aplica_soporte', 'integer', 1, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'default' => '1 ',
            'primary' => false,
            'length' => 1,
        ));
        $this->hasColumn('observaciones_soporte', 'string', 2000, array(
            'notnull' => true,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 2000,
        ));
        $this->hasColumn('rango_desde', 'integer', 8, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 8,
        ));
        $this->hasColumn('rango_hasta', 'integer', 8, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 8,
        ));
    }

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

}
