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

/**
 * BaseTSEC_SAFI
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_obligacion
 * @property integer $secuencia
 * @property string $ano_fiscal
 * @property string $tipo_vig
 * @property integer $seccom
 * @property string $nit
 * @property string $valor
 * @property integer $id_tsec
 * 
 * @method integer   getId()            Returns the current record's "id" value
 * @method integer   getIdObligacion()  Returns the current record's "id_obligacion" value
 * @method integer   getSecuencia()     Returns the current record's "secuencia" value
 * @method string    getAnoFiscal()     Returns the current record's "ano_fiscal" value
 * @method string    getTipoVig()       Returns the current record's "tipo_vig" value
 * @method integer   getSeccom()        Returns the current record's "seccom" value
 * @method string    getNit()           Returns the current record's "nit" value
 * @method string    getValor()         Returns the current record's "valor" value
 * @method integer   getIdTsec()        Returns the current record's "id_tsec" value
 * @method TSEC_SAFI setId()            Sets the current record's "id" value
 * @method TSEC_SAFI setIdObligacion()  Sets the current record's "id_obligacion" value
 * @method TSEC_SAFI setSecuencia()     Sets the current record's "secuencia" value
 * @method TSEC_SAFI setAnoFiscal()     Sets the current record's "ano_fiscal" value
 * @method TSEC_SAFI setTipoVig()       Sets the current record's "tipo_vig" value
 * @method TSEC_SAFI setSeccom()        Sets the current record's "seccom" value
 * @method TSEC_SAFI setNit()           Sets the current record's "nit" value
 * @method TSEC_SAFI setValor()         Sets the current record's "valor" value
 * @method TSEC_SAFI setIdTsec()        Sets the current record's "id_tsec" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTSEC_SAFI extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TSEC_SAFI');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $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('ano_fiscal', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipo_vig', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('seccom', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nit', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tsec', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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