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

/**
 * BaseTS_DEDUCCIONES_SIIF
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property decimal $id_deducciones_siif
 * @property string $descripcion
 * @property integer $id_im
 * @property decimal $porcentaje
 * 
 * @method integer             getId()                  Returns the current record's "id" value
 * @method decimal             getIdDeduccionesSiif()   Returns the current record's "id_deducciones_siif" value
 * @method string              getDescripcion()         Returns the current record's "descripcion" value
 * @method integer             getIdIm()                Returns the current record's "id_im" value
 * @method decimal             getPorcentaje()          Returns the current record's "porcentaje" value
 * @method TS_DEDUCCIONES_SIIF setId()                  Sets the current record's "id" value
 * @method TS_DEDUCCIONES_SIIF setIdDeduccionesSiif()   Sets the current record's "id_deducciones_siif" value
 * @method TS_DEDUCCIONES_SIIF setDescripcion()         Sets the current record's "descripcion" value
 * @method TS_DEDUCCIONES_SIIF setIdIm()                Sets the current record's "id_im" value
 * @method TS_DEDUCCIONES_SIIF setPorcentaje()          Sets the current record's "porcentaje" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_DEDUCCIONES_SIIF extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_DEDUCCIONES_SIIF');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_deducciones_siif', 'decimal', 38, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('descripcion', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('id_im', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('porcentaje', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
    }

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