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

/**
 * BaseRE_IMP_OBLIGACIONES
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_distribucion
 * @property integer $id_liq
 * @property integer $id_mae_ter
 * @property string $nit
 * @property string $nombre
 * @property integer $valor
 * @property integer $tipobene
 * @property integer $secuencia
 * @property integer $produccion
 * @property integer $valor_produccion
 * @property integer $girar
 * @property string $unidad
 * @property integer $linea
 * 
 * @method integer             getId()               Returns the current record's "id" value
 * @method integer             getIdDistribucion()   Returns the current record's "id_distribucion" value
 * @method integer             getIdLiq()            Returns the current record's "id_liq" value
 * @method integer             getIdMaeTer()         Returns the current record's "id_mae_ter" value
 * @method string              getNit()              Returns the current record's "nit" value
 * @method string              getNombre()           Returns the current record's "nombre" value
 * @method integer             getValor()            Returns the current record's "valor" value
 * @method integer             getTipobene()         Returns the current record's "tipobene" value
 * @method integer             getSecuencia()        Returns the current record's "secuencia" value
 * @method integer             getProduccion()       Returns the current record's "produccion" value
 * @method integer             getValorProduccion()  Returns the current record's "valor_produccion" value
 * @method integer             getGirar()            Returns the current record's "girar" value
 * @method string              getUnidad()           Returns the current record's "unidad" value
 * @method integer             getLinea()            Returns the current record's "linea" value
 * @method RE_IMP_OBLIGACIONES setId()               Sets the current record's "id" value
 * @method RE_IMP_OBLIGACIONES setIdDistribucion()   Sets the current record's "id_distribucion" value
 * @method RE_IMP_OBLIGACIONES setIdLiq()            Sets the current record's "id_liq" value
 * @method RE_IMP_OBLIGACIONES setIdMaeTer()         Sets the current record's "id_mae_ter" value
 * @method RE_IMP_OBLIGACIONES setNit()              Sets the current record's "nit" value
 * @method RE_IMP_OBLIGACIONES setNombre()           Sets the current record's "nombre" value
 * @method RE_IMP_OBLIGACIONES setValor()            Sets the current record's "valor" value
 * @method RE_IMP_OBLIGACIONES setTipobene()         Sets the current record's "tipobene" value
 * @method RE_IMP_OBLIGACIONES setSecuencia()        Sets the current record's "secuencia" value
 * @method RE_IMP_OBLIGACIONES setProduccion()       Sets the current record's "produccion" value
 * @method RE_IMP_OBLIGACIONES setValorProduccion()  Sets the current record's "valor_produccion" value
 * @method RE_IMP_OBLIGACIONES setGirar()            Sets the current record's "girar" value
 * @method RE_IMP_OBLIGACIONES setUnidad()           Sets the current record's "unidad" value
 * @method RE_IMP_OBLIGACIONES setLinea()            Sets the current record's "linea" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRE_IMP_OBLIGACIONES extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RE_IMP_OBLIGACIONES');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_distribucion', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_liq', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('nit', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nombre', 'string', 2000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('valor', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('tipobene', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('secuencia', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('produccion', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_produccion', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('girar', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('unidad', 'string', 10, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '00',
             'primary' => false,
             'length' => 10,
             ));
        $this->hasColumn('linea', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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