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

/**
 * BaseTS_OBLIGACION_APORTES
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_obliga_aportes
 * @property integer $id_obligacion
 * @property integer $secuencia
 * @property string $descripcion
 * @property decimal $valor
 * @property integer $id_tercero
 * @property timestamp $fecha_proceso
 * @property integer $id_vigencia
 * @property string $ano_fiscal
 * 
 * @method integer               getIdObligaAportes()   Returns the current record's "id_obliga_aportes" value
 * @method integer               getIdObligacion()      Returns the current record's "id_obligacion" value
 * @method integer               getSecuencia()         Returns the current record's "secuencia" value
 * @method string                getDescripcion()       Returns the current record's "descripcion" value
 * @method decimal               getValor()             Returns the current record's "valor" value
 * @method integer               getIdTercero()         Returns the current record's "id_tercero" value
 * @method timestamp             getFechaProceso()      Returns the current record's "fecha_proceso" value
 * @method integer               getIdVigencia()        Returns the current record's "id_vigencia" value
 * @method string                getAnoFiscal()         Returns the current record's "ano_fiscal" value
 * @method TS_OBLIGACION_APORTES setIdObligaAportes()   Sets the current record's "id_obliga_aportes" value
 * @method TS_OBLIGACION_APORTES setIdObligacion()      Sets the current record's "id_obligacion" value
 * @method TS_OBLIGACION_APORTES setSecuencia()         Sets the current record's "secuencia" value
 * @method TS_OBLIGACION_APORTES setDescripcion()       Sets the current record's "descripcion" value
 * @method TS_OBLIGACION_APORTES setValor()             Sets the current record's "valor" value
 * @method TS_OBLIGACION_APORTES setIdTercero()         Sets the current record's "id_tercero" value
 * @method TS_OBLIGACION_APORTES setFechaProceso()      Sets the current record's "fecha_proceso" value
 * @method TS_OBLIGACION_APORTES setIdVigencia()        Sets the current record's "id_vigencia" value
 * @method TS_OBLIGACION_APORTES setAnoFiscal()         Sets the current record's "ano_fiscal" 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_APORTES extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_OBLIGACION_APORTES');
        $this->hasColumn('id_obliga_aportes', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_obligacion', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('secuencia', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('valor', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tercero', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('ano_fiscal', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
    }

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