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

/**
 * BaseTS_OBLIGA_TERCERO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_obliga_tercero
 * @property integer $id_obligacion
 * @property integer $secuencia
 * @property integer $id_vigencia
 * @property string $vigencia
 * @property integer $id_tercero
 * 
 * @method integer           getIdObligaTercero()   Returns the current record's "id_obliga_tercero" value
 * @method integer           getIdObligacion()      Returns the current record's "id_obligacion" value
 * @method integer           getSecuencia()         Returns the current record's "secuencia" value
 * @method integer           getIdVigencia()        Returns the current record's "id_vigencia" value
 * @method string            getVigencia()          Returns the current record's "vigencia" value
 * @method integer           getIdTercero()         Returns the current record's "id_tercero" value
 * @method TS_OBLIGA_TERCERO setIdObligaTercero()   Sets the current record's "id_obliga_tercero" value
 * @method TS_OBLIGA_TERCERO setIdObligacion()      Sets the current record's "id_obligacion" value
 * @method TS_OBLIGA_TERCERO setSecuencia()         Sets the current record's "secuencia" value
 * @method TS_OBLIGA_TERCERO setIdVigencia()        Sets the current record's "id_vigencia" value
 * @method TS_OBLIGA_TERCERO setVigencia()          Sets the current record's "vigencia" value
 * @method TS_OBLIGA_TERCERO setIdTercero()         Sets the current record's "id_tercero" value
 * 
 * @package    cartera
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_OBLIGA_TERCERO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_OBLIGA_TERCERO');
        $this->hasColumn('id_obliga_tercero', 'integer', 20, array(
             '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('id_vigencia', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tercero', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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