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

/**
 * BaseTSIC_SAFI
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_obligacion
 * @property integer $secuencia
 * @property string $tipo_vig
 * @property integer $seccom
 * @property string $codimp
 * @property integer $valimp
 * @property string $ano_fiscal
 * @property integer $id_im
 * 
 * @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    getTipoVig()       Returns the current record's "tipo_vig" value
 * @method integer   getSeccom()        Returns the current record's "seccom" value
 * @method string    getCodimp()        Returns the current record's "codimp" value
 * @method integer   getValimp()        Returns the current record's "valimp" value
 * @method string    getAnoFiscal()     Returns the current record's "ano_fiscal" value
 * @method integer   getIdIm()          Returns the current record's "id_im" value
 * @method TSIC_SAFI setId()            Sets the current record's "id" value
 * @method TSIC_SAFI setIdObligacion()  Sets the current record's "id_obligacion" value
 * @method TSIC_SAFI setSecuencia()     Sets the current record's "secuencia" value
 * @method TSIC_SAFI setTipoVig()       Sets the current record's "tipo_vig" value
 * @method TSIC_SAFI setSeccom()        Sets the current record's "seccom" value
 * @method TSIC_SAFI setCodimp()        Sets the current record's "codimp" value
 * @method TSIC_SAFI setValimp()        Sets the current record's "valimp" value
 * @method TSIC_SAFI setAnoFiscal()     Sets the current record's "ano_fiscal" value
 * @method TSIC_SAFI setIdIm()          Sets the current record's "id_im" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTSIC_SAFI extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TSIC_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('tipo_vig', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('seccom', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('codimp', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valimp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('ano_fiscal', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_im', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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