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

/**
 * BaseTS_RETEN2
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_reten2
 * @property string $vigencia
 * @property decimal $rango_desde
 * @property decimal $rango_hasta
 * @property decimal $tarifa
 * 
 * @method integer   getIdReten2()    Returns the current record's "id_reten2" value
 * @method string    getVigencia()    Returns the current record's "vigencia" value
 * @method decimal   getRangoDesde()  Returns the current record's "rango_desde" value
 * @method decimal   getRangoHasta()  Returns the current record's "rango_hasta" value
 * @method decimal   getTarifa()      Returns the current record's "tarifa" value
 * @method TS_RETEN2 setIdReten2()    Sets the current record's "id_reten2" value
 * @method TS_RETEN2 setVigencia()    Sets the current record's "vigencia" value
 * @method TS_RETEN2 setRangoDesde()  Sets the current record's "rango_desde" value
 * @method TS_RETEN2 setRangoHasta()  Sets the current record's "rango_hasta" value
 * @method TS_RETEN2 setTarifa()      Sets the current record's "tarifa" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_RETEN2 extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_RETEN2');
        $this->hasColumn('id_reten2', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('rango_desde', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('rango_hasta', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tarifa', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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