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

/**
 * BaseTS_OBLIGACION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_obligacion
 * @property integer $id_rp
 * @property integer $id_asign
 * @property integer $id_cpx
 * @property integer $secuencia
 * @property integer $id_clase_cxp
 * @property decimal $valor_obligacion
 * @property timestamp $fecha_proceso
 * @property timestamp $fecha_sistema
 * @property string $usuario
 * @property string $observaciones
 * @property integer $id_pagos_obliga
 * @property integer $id_vigencia
 * @property string $ano_fiscal
 * @property integer $tipo_obligacion
 * @property integer $estado
 * @property integer $bloqueo_pago
 * @property decimal $otros_pagos
 * @property decimal $pagos_ext
 * @property integer $obligacion_siif
 * @property integer $tipo_ley
 * 
 * @method integer       getIdObligacion()     Returns the current record's "id_obligacion" value
 * @method integer       getIdRp()             Returns the current record's "id_rp" value
 * @method integer       getIdAsign()          Returns the current record's "id_asign" value
 * @method integer       getIdCpx()            Returns the current record's "id_cpx" value
 * @method integer       getSecuencia()        Returns the current record's "secuencia" value
 * @method integer       getIdClaseCxp()       Returns the current record's "id_clase_cxp" value
 * @method decimal       getValorObligacion()  Returns the current record's "valor_obligacion" value
 * @method timestamp     getFechaProceso()     Returns the current record's "fecha_proceso" value
 * @method timestamp     getFechaSistema()     Returns the current record's "fecha_sistema" value
 * @method string        getUsuario()          Returns the current record's "usuario" value
 * @method string        getObservaciones()    Returns the current record's "observaciones" value
 * @method integer       getIdPagosObliga()    Returns the current record's "id_pagos_obliga" value
 * @method integer       getIdVigencia()       Returns the current record's "id_vigencia" value
 * @method string        getAnoFiscal()        Returns the current record's "ano_fiscal" value
 * @method integer       getTipoObligacion()   Returns the current record's "tipo_obligacion" value
 * @method integer       getEstado()           Returns the current record's "estado" value
 * @method integer       getBloqueoPago()      Returns the current record's "bloqueo_pago" value
 * @method decimal       getOtrosPagos()       Returns the current record's "otros_pagos" value
 * @method decimal       getPagosExt()         Returns the current record's "pagos_ext" value
 * @method integer       getObligacionSiif()   Returns the current record's "obligacion_siif" value
 * @method integer       getTipoLey()          Returns the current record's "tipo_ley" value
 * @method TS_OBLIGACION setIdObligacion()     Sets the current record's "id_obligacion" value
 * @method TS_OBLIGACION setIdRp()             Sets the current record's "id_rp" value
 * @method TS_OBLIGACION setIdAsign()          Sets the current record's "id_asign" value
 * @method TS_OBLIGACION setIdCpx()            Sets the current record's "id_cpx" value
 * @method TS_OBLIGACION setSecuencia()        Sets the current record's "secuencia" value
 * @method TS_OBLIGACION setIdClaseCxp()       Sets the current record's "id_clase_cxp" value
 * @method TS_OBLIGACION setValorObligacion()  Sets the current record's "valor_obligacion" value
 * @method TS_OBLIGACION setFechaProceso()     Sets the current record's "fecha_proceso" value
 * @method TS_OBLIGACION setFechaSistema()     Sets the current record's "fecha_sistema" value
 * @method TS_OBLIGACION setUsuario()          Sets the current record's "usuario" value
 * @method TS_OBLIGACION setObservaciones()    Sets the current record's "observaciones" value
 * @method TS_OBLIGACION setIdPagosObliga()    Sets the current record's "id_pagos_obliga" value
 * @method TS_OBLIGACION setIdVigencia()       Sets the current record's "id_vigencia" value
 * @method TS_OBLIGACION setAnoFiscal()        Sets the current record's "ano_fiscal" value
 * @method TS_OBLIGACION setTipoObligacion()   Sets the current record's "tipo_obligacion" value
 * @method TS_OBLIGACION setEstado()           Sets the current record's "estado" value
 * @method TS_OBLIGACION setBloqueoPago()      Sets the current record's "bloqueo_pago" value
 * @method TS_OBLIGACION setOtrosPagos()       Sets the current record's "otros_pagos" value
 * @method TS_OBLIGACION setPagosExt()         Sets the current record's "pagos_ext" value
 * @method TS_OBLIGACION setObligacionSiif()   Sets the current record's "obligacion_siif" value
 * @method TS_OBLIGACION setTipoLey()          Sets the current record's "tipo_ley" 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_OBLIGACION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_OBLIGACION');
        $this->hasColumn('id_obligacion', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_rp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_asign', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_cpx', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('secuencia', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_clase_cxp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_obligacion', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_sistema', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuario', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observaciones', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('id_pagos_obliga', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('ano_fiscal', 'string', 4, array(
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 4,
             ));
        $this->hasColumn('tipo_obligacion', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('bloqueo_pago', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('otros_pagos', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('pagos_ext', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('obligacion_siif', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipo_ley', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
    }

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