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

/**
 * BaseRE_OBLIGACION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_obligacion
 * @property integer $id_distribucion
 * @property integer $id_liq
 * @property integer $id_mae_ter
 * @property timestamp $fecha_crea
 * @property integer $valor_contraprestacion
 * @property integer $id_ach
 * @property integer $estado
 * @property timestamp $fecha_anu
 * @property string $motivo_anu
 * @property integer $valor_produccion
 * @property integer $id_unidad_medida
 * @property decimal $valor_cant_produccion
 * 
 * @method integer       getIdObligacion()           Returns the current record's "id_obligacion" 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 timestamp     getFechaCrea()              Returns the current record's "fecha_crea" value
 * @method integer       getValorContraprestacion()  Returns the current record's "valor_contraprestacion" value
 * @method integer       getIdAch()                  Returns the current record's "id_ach" value
 * @method integer       getEstado()                 Returns the current record's "estado" value
 * @method timestamp     getFechaAnu()               Returns the current record's "fecha_anu" value
 * @method string        getMotivoAnu()              Returns the current record's "motivo_anu" value
 * @method integer       getValorProduccion()        Returns the current record's "valor_produccion" value
 * @method integer       getIdUnidadMedida()         Returns the current record's "id_unidad_medida" value
 * @method decimal       getValorCantProduccion()    Returns the current record's "valor_cant_produccion" value
 * @method RE_OBLIGACION setIdObligacion()           Sets the current record's "id_obligacion" value
 * @method RE_OBLIGACION setIdDistribucion()         Sets the current record's "id_distribucion" value
 * @method RE_OBLIGACION setIdLiq()                  Sets the current record's "id_liq" value
 * @method RE_OBLIGACION setIdMaeTer()               Sets the current record's "id_mae_ter" value
 * @method RE_OBLIGACION setFechaCrea()              Sets the current record's "fecha_crea" value
 * @method RE_OBLIGACION setValorContraprestacion()  Sets the current record's "valor_contraprestacion" value
 * @method RE_OBLIGACION setIdAch()                  Sets the current record's "id_ach" value
 * @method RE_OBLIGACION setEstado()                 Sets the current record's "estado" value
 * @method RE_OBLIGACION setFechaAnu()               Sets the current record's "fecha_anu" value
 * @method RE_OBLIGACION setMotivoAnu()              Sets the current record's "motivo_anu" value
 * @method RE_OBLIGACION setValorProduccion()        Sets the current record's "valor_produccion" value
 * @method RE_OBLIGACION setIdUnidadMedida()         Sets the current record's "id_unidad_medida" value
 * @method RE_OBLIGACION setValorCantProduccion()    Sets the current record's "valor_cant_produccion" 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_OBLIGACION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RE_OBLIGACION');
        $this->hasColumn('id_obligacion', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_distribucion', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_liq', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_crea', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('valor_contraprestacion', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_ach', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('estado', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_anu', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('motivo_anu', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('valor_produccion', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_unidad_medida', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_cant_produccion', 'decimal', 38, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 38,
             ));
    }

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